Patch #1808
switch depreciated rhtml to html.erb
| Status: | Closed | Start date: | 2008-08-25 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - |
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
History
#1 Updated by Jared Moody over 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
closed via #1951
#2 Updated by Jared Moody over 4 years ago
#3 Updated by Mischa The Evil over 4 years ago
- Status changed from Resolved to Closed
- Target version set to 0.8
- Resolution set to Fixed
#4 Updated by Eric Davis over 4 years ago
- 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.
#5 Updated by Jean-Philippe Lang over 4 years ago
- Tracker changed from Defect to Patch
#6 Updated by Jan Niggemann 4 months ago
- Status changed from Reopened to Closed
Closing this one, there's currently no file in 2.2.0 whose name contains rhtml.