Fix the error message on generate mailer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
e2724aa185
commit
f3cf76d32d
|
@ -24,7 +24,6 @@ class MailerGenerator < Rails::Generator::NamedBase
|
||||||
File.join('app/views', class_path, file_name, "#{action}.rhtml"),
|
File.join('app/views', class_path, file_name, "#{action}.rhtml"),
|
||||||
:assigns => { :action => action }
|
:assigns => { :action => action }
|
||||||
m.template "fixture.rhtml",
|
m.template "fixture.rhtml",
|
||||||
"test/fixtures/#{table_name}/#{action}",
|
|
||||||
File.join('test/fixtures', class_path, table_name, action),
|
File.join('test/fixtures', class_path, table_name, action),
|
||||||
:assigns => { :action => action }
|
:assigns => { :action => action }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue