This project is archived and is in readonly mode.

#4911 ✓wontfix

[PATCH] Add :notice, :alert, and :flash as options to render.

Reported by PreciousBodilyFluids | June 20th, 2010 @ 08:01 AM

DHH added :notice, :alert and :flash as options to redirect_to, each of which set the flash hash before performing the redirect:

This patch gives the same options to render, setting values in This gives the rendering/redirecting api some consistency. Tests are included, and everything passes on master.

Comments and changes to this ticket

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

Shared Ticket Bins