public
Fork of pivotal/cacheable-flash
Description: Gets the Rails flash object working with page cacheing. This fork doesn't require the JSON gem or any JavaScript library.
Homepage:
Clone URL: git://github.com/look/cacheable-flash.git
cacheable-flash / init.rb
100644 3 lines (2 sloc) 0.123 kb
1
2
3
require "cacheable_flash"
ActionView::Helpers::AssetTagHelper.register_javascript_include_default('cookie','flash','json')