diff options
author | José Valim <jose.valim@gmail.com> | 2009-12-31 01:33:54 +0100 |
---|---|---|
committer | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-12-31 18:40:20 -0800 |
commit | 38fa0d14a8c96fc6e02531408be5ce8c36f4fb7a (patch) | |
tree | af5d5ab4f6fb1393d4c86082c280fe8d9cfe1e37 /actionmailer/lib | |
parent | db49b7dc94a744fd53eaf80107995ca55f9415e8 (diff) | |
download | rails-38fa0d14a8c96fc6e02531408be5ce8c36f4fb7a.tar.gz rails-38fa0d14a8c96fc6e02531408be5ce8c36f4fb7a.tar.bz2 rails-38fa0d14a8c96fc6e02531408be5ce8c36f4fb7a.zip |
controller_path is required by ActionView, so move it up to AbstractController and refactor AbstractController::Layouts.
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index f34a9bae47..0d59850f7f 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -364,6 +364,7 @@ module ActionMailer #:nodoc: def mailer_name @mailer_name ||= name.underscore end + alias :controller_path :mailer_name def delivery_method=(method_name) @delivery_method = ActionMailer::DeliveryMethod.lookup_method(method_name) |