Patch #1808
switch depreciated rhtml to html.erb
| Status: | Reopened | 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 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
closed via #1951
#2 Updated by Jared Moody over 3 years ago
#3 Updated by Mischa The Evil over 3 years ago
- Status changed from Resolved to Closed
- Target version set to 0.8
- Resolution set to Fixed
#4 Updated by Eric Davis over 3 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 3 years ago
- Tracker changed from Defect to Patch