From ef8f41dc687b08963ae5bb200a3f95208e6107a2 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 20 Oct 2006 19:18:56 +0000 Subject: reference view path in fixture git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../rails_generator/generators/components/mailer/mailer_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb b/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb index e0037727e1..e07f7efd43 100644 --- a/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +++ b/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb @@ -27,7 +27,7 @@ class MailerGenerator < Rails::Generator::NamedBase m.template "view.rhtml", view_path, :assigns => { :action => action, :path => view_path } m.template "fixture.rhtml", fixture_path, - :assigns => { :action => action, :path => fixture_path } + :assigns => { :action => action, :path => view_path } end end end -- cgit v1.2.3