diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-08-06 16:34:48 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:12 +0200 |
commit | e5af8b7d85abb94f21f4e873c1c267e27be2aad8 (patch) | |
tree | 65e5f8ce3a82dcc6811fc51ad3a052d599ad500c /railties/lib/rails | |
parent | 8fb9df535e9fcf4c117ffd3254027e0fe2425cb7 (diff) | |
download | rails-e5af8b7d85abb94f21f4e873c1c267e27be2aad8.tar.gz rails-e5af8b7d85abb94f21f4e873c1c267e27be2aad8.tar.bz2 rails-e5af8b7d85abb94f21f4e873c1c267e27be2aad8.zip |
Moved ActionMailer and ActionController railties options to inherited hook
This change is needed, because we must take namespace into account and if
controller's/mailer's class is namespaced, engine's paths should be set
instead of application's ones.
The nice side effect of this is removing unneeded logic in
ActionController::Base.inherited - now the helpers_path should be set
correctly even for engine's controllers, so helper(:all) will always
include correct helpers.
Diffstat (limited to 'railties/lib/rails')
0 files changed, 0 insertions, 0 deletions