Permalink
Browse files

Fixed ERB statement

  • Loading branch information...
1 parent ca9cab4 commit f0e69524ab3e6e1a072c4fcdba60d4ed0b15c36e @mdarby committed Feb 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/mq/templates/email.rb
@@ -36,7 +36,7 @@ def deliver
private
def self.generate_mail(method, address, args)
- create!(:mailer_method => method, :tmail => <% mailer_name %>.send("create_#{method}".to_sym, address, *args))
+ create!(:mailer_method => method, :tmail => <%= mailer_name %>.send("create_#{method}".to_sym, address, *args))
end
end

0 comments on commit f0e6952

Please sign in to comment.