This project is archived and is in readonly mode.
Changeset [e6cadd422b72ba9818cc2f3b22243a6aa754c9f8] by David Heinemeier Hansson
December 17th, 2009 @ 07:34 PM
Added :alert, :notice, and :flash as options to
ActionController::Base#redirect_to that'll automatically set the
proper flash before the redirection [DHH]
Added ActionController::Base#notice/= and
ActionController::Base#alert/= as a convenience accessors in both
the controller and the view for flash[:notice]/= and
flash[:alert]/= [DHH]
http://github.com/rails/rails/commit/e6cadd422b72ba9818cc2f3b22243a...
Committed by David Heinemeier Hansson
- M actionpack/CHANGELOG
- M actionpack/lib/action_controller/base.rb
- M actionpack/lib/action_controller/flash.rb
- M actionpack/test/controller/flash_test.rb
- M railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb
- M railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb
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>