aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-09-06 20:47:25 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-08 19:27:59 +0200
commit18aee333359a4dea6847754f3055ce223aa2474c (patch)
tree1593b92ca59e5398151fe6e786b197b33cbc9736 /actionmailer/lib
parenta5d894ce566a21ec4c5db9df06be7f22a1690691 (diff)
downloadrails-18aee333359a4dea6847754f3055ce223aa2474c.tar.gz
rails-18aee333359a4dea6847754f3055ce223aa2474c.tar.bz2
rails-18aee333359a4dea6847754f3055ce223aa2474c.zip
Do not require passing :app to mounted helpers, it's actually useless and not DRY
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/railtie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/railtie.rb b/actionmailer/lib/action_mailer/railtie.rb
index a2b00addc9..889ae34407 100644
--- a/actionmailer/lib/action_mailer/railtie.rb
+++ b/actionmailer/lib/action_mailer/railtie.rb
@@ -21,7 +21,7 @@ module ActionMailer
ActiveSupport.on_load(:action_mailer) do
include AbstractController::UrlFor
extend ::AbstractController::Railties::RoutesHelpers.with(app.routes)
- include app.routes.mounted_helpers(:app)
+ include app.routes.mounted_helpers
options.each { |k,v| send("#{k}=", v) }
end
end