Skip to content

Commit

Permalink
Update ext/action_mailer.rb : require 'action_mailer' (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Lalaut authored and schneems committed Jun 21, 2016
1 parent 427ba12 commit 59b399c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/maildown/ext/action_mailer.rb
@@ -1,3 +1,5 @@
require 'action_mailer'

mail_view_klass = ActionMailer::Base.view_context_class
mail_view_klass.default_formats = (mail_view_klass.default_formats << :md)
Mime::Type.register "text/md", :md, [], %w(md)
Expand Down

0 comments on commit 59b399c

Please sign in to comment.