This project is archived and is in readonly mode.
Changeset [e5af8b7d85abb94f21f4e873c1c267e27be2aad8] 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...
Committed by Piotr Sarnacki
- 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
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>