Skip to content

Commit

Permalink
Fix Mailer so it can generate views for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Oct 2, 2010
1 parent 8ca63a8 commit f3ec66f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/generators/haml/mailer/mailer_generator.rb
Expand Up @@ -3,10 +3,14 @@
module Haml
module Generators
class MailerGenerator < ControllerGenerator
source_root File.expand_path("../templates", __FILE__)

protected

def format
:text
end

end
end
end

0 comments on commit f3ec66f

Please sign in to comment.