Skip to content
  • David Heinemeier Hansson's avatar
    e6cadd42
    Added :alert, :notice, and :flash as options to... · e6cadd42
    David Heinemeier Hansson authored
    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]
    e6cadd42
    Added :alert, :notice, and :flash as options to...
    David Heinemeier Hansson authored
    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]
Loading