lib/oprah/railtie.rb in oprah-0.2.0 vs lib/oprah/railtie.rb in oprah-0.2.1
- old
+ new
@@ -15,7 +15,13 @@
initializer "oprah.configure_action_controller_helpers" do
ActiveSupport.on_load :action_controller do
ActionController::Base.include(Oprah::ControllerHelpers)
end
end
+
+ initializer "oprah.configure_action_mailer_helpers" do
+ ActiveSupport.on_load :action_mailer do
+ ActionMailer::Base.include(Oprah::ControllerHelpers)
+ end
+ end
end
end