This project is archived and is in readonly mode.
Changeset [e5af8b7d85abb94f21f4e873c1c267e27be2aad8] by Piotr Sarnacki
Revision e5af8b7d85abb94f21f4e873c1c267e27be2aad8,
committed by Piotr Sarnacki
· September 3rd, 2010 @ 09:59 PM
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.
http://github.com/rails/rails/commit/e5af8b7d85abb94f21f4e873c1c267...
5 changed files
-
A
actionmailer/lib/action_mailer/railties/paths.rb -
A
actionpack/lib/action_controller/railties/paths.rb -
M
actionmailer/lib/action_mailer/railtie.rb -
M
actionpack/lib/action_controller/base.rb -
M
actionpack/lib/action_controller/railtie.rb