diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-02-24 16:47:43 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-25 17:53:01 -0800 |
commit | 9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c (patch) | |
tree | c7d616f34a1f4f90982aac6e7561a117b3429026 /actionmailer/lib/action_mailer | |
parent | 1fb2c6f63527408c8dbb00d6483ee6cf677db2df (diff) | |
download | rails-9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c.tar.gz rails-9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c.tar.bz2 rails-9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c.zip |
Get Railties tests passing
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/railtie.rb b/actionmailer/lib/action_mailer/railtie.rb index 4c48d2bed6..7622a90b17 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, ActionController::UrlFor) if defined?(ActionController) + ActionMailer::Base.send(:include, app.routes.named_url_helpers) end require "action_mailer/railties/log_subscriber" |