diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-30 05:27:05 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-30 05:27:05 +0000 |
commit | 5446ecd5b975890dab5f7120b25ed0e8f91279fa (patch) | |
tree | 5c030b83d08e5228389c2600b769166118cb3a2f /actionmailer/lib | |
parent | bdac94e990162d711529922cf32adca2f0836905 (diff) | |
download | rails-5446ecd5b975890dab5f7120b25ed0e8f91279fa.tar.gz rails-5446ecd5b975890dab5f7120b25ed0e8f91279fa.tar.bz2 rails-5446ecd5b975890dab5f7120b25ed0e8f91279fa.zip |
Mailer template root applies to a class and its subclasses rather than acting globally. Closes #5555.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 81f240e035..a67072a953 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -191,7 +191,7 @@ module ActionMailer #:nodoc: private_class_method :new #:nodoc: - cattr_accessor :template_root + class_inheritable_accessor :template_root cattr_accessor :logger @@server_settings = { |