Permalink
Browse files

.rhtml extension for view only

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent ba74754 commit 8cbe2fed545a3ab0d7ad791006fbd1a918325ea3 @jeremy jeremy committed Oct 20, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb
@@ -20,8 +20,8 @@ def manifest
# View template and fixture for each action.
actions.each do |action|
- relative_path = File.join(class_path, file_name, "#{action}.rhtml")
- view_path = File.join('app/views', relative_path)
+ relative_path = File.join(class_path, file_name, action)
+ view_path = File.join('app/views', "#{relative_path}.rhtml")
fixture_path = File.join('test/fixtures', relative_path)
m.template "view.rhtml", view_path,

0 comments on commit 8cbe2fe

Please sign in to comment.