aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-02-26 15:00:33 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-02-26 15:04:50 -0800
commit98f77e08278658ec47c9eb2e8f819d781c1eaebf (patch)
tree90fa876eb1f103ab9ca70602512c35ecc281a433 /actionmailer
parentf10a019452d6864420dd15830073d93dd90de0f1 (diff)
downloadrails-98f77e08278658ec47c9eb2e8f819d781c1eaebf.tar.gz
rails-98f77e08278658ec47c9eb2e8f819d781c1eaebf.tar.bz2
rails-98f77e08278658ec47c9eb2e8f819d781c1eaebf.zip
Rename named_url_helpers to url_helpers and url_helpers to url_for
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/railtie.rb2
-rw-r--r--actionmailer/test/old_base/url_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/railtie.rb b/actionmailer/lib/action_mailer/railtie.rb
index 7622a90b17..c5f18c7911 100644
--- a/actionmailer/lib/action_mailer/railtie.rb
+++ b/actionmailer/lib/action_mailer/railtie.rb
@@ -6,7 +6,7 @@ module ActionMailer
railtie_name :action_mailer
initializer "action_mailer.url_for", :before => :load_environment_config do |app|
- ActionMailer::Base.send(:include, app.routes.named_url_helpers)
+ ActionMailer::Base.send(:include, app.routes.url_helpers)
end
require "action_mailer/railties/log_subscriber"
diff --git a/actionmailer/test/old_base/url_test.rb b/actionmailer/test/old_base/url_test.rb
index 0e8917b427..a719248599 100644
--- a/actionmailer/test/old_base/url_test.rb
+++ b/actionmailer/test/old_base/url_test.rb
@@ -7,7 +7,7 @@ end
AppRoutes = ActionDispatch::Routing::RouteSet.new
class ActionMailer::Base
- include AppRoutes.named_url_helpers
+ include AppRoutes.url_helpers
end
class TestMailer < ActionMailer::Base