Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (4 sloc) 0.51 kB

FlashRender

Allows you to use render :new, :alert => 'You messed up' just like you can use redirect_to thang, :notice => 'You made thang successfully'.

Works with :notice, :alert and :flash => {:message => 'Sup foo'} just like redirect_to. With rendering it sets flash.now instead of flash.

Inspired after googling for this feature, it was written entirely by the mysterious P.B.F. and packaged into a gem by me. See: http://bit.ly/flash_render

Jump to Line
Something went wrong with that request. Please try again.