Patch #1808
closed
switch depreciated rhtml to html.erb
Added by Jared Moody over 16 years ago.
Updated almost 12 years ago.
Description
here's a rake task to do this while preserving svn history:
namespace 'views' do
desc 'Renames all your rhtml views to erb'
task 'rename' do
Dir.glob('app/views/**/*.rhtml').each do |file|
puts `svn mv #{file} #{file.gsub(/\.rhtml$/, '.html.erb')}`
end
end
end
- Status changed from New to Resolved
- % Done changed from 0 to 100
Jared Moody wrote:
closed via #1951
that is, r1951
- Status changed from Resolved to Closed
- Target version set to 0.8
- Resolution set to Fixed
- Status changed from Closed to Reopened
- Target version deleted (
0.8)
- % Done changed from 100 to 0
- Resolution deleted (
Fixed)
r1951 only renamed the plugin generator files and did not change the core views of Redmine.
- Tracker changed from Defect to Patch
- Status changed from Reopened to Closed
Closing this one, there's currently no file in 2.2.0 whose name contains rhtml.
Also available in: Atom
PDF