aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-07-30 08:04:16 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-03 22:59:10 +0200
commit8fdeff0fa5c4ebf01856b0048dd86f7151fd11ba (patch)
tree8c6bee8850fd8ff66e7986ddea01fde38c430a0f /actionmailer/lib
parent2734d3819f4621bf797ea436d267b102deae67f7 (diff)
downloadrails-8fdeff0fa5c4ebf01856b0048dd86f7151fd11ba.tar.gz
rails-8fdeff0fa5c4ebf01856b0048dd86f7151fd11ba.tar.bz2
rails-8fdeff0fa5c4ebf01856b0048dd86f7151fd11ba.zip
mounted helpers should be included in ActionMailer
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/railtie.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/railtie.rb b/actionmailer/lib/action_mailer/railtie.rb
index ce6d8cc5b5..c888e51b93 100644
--- a/actionmailer/lib/action_mailer/railtie.rb
+++ b/actionmailer/lib/action_mailer/railtie.rb
@@ -19,8 +19,9 @@ module ActionMailer
ActiveSupport.on_load(:action_mailer) do
include app.routes.url_helpers
+ include app.routes.mounted_helpers(:app)
options.each { |k,v| send("#{k}=", v) }
end
end
end
-end \ No newline at end of file
+end