lib/cacheable_flash.rb in cacheable_flash-0.3.0 vs lib/cacheable_flash.rb in cacheable_flash-0.3.1

- old
+ new

@@ -8,9 +8,17 @@ require 'cacheable_flash/railtie' else # For older rails use generator end + # By default stacking is false, but it can be turned on with: + # CacheableFlash.configure do |config| + # config[:stacking] = true + # config[:append_as] = :br + # end + StackableFlash.stacking = false + + # The configure will override the above default require 'cacheable_flash/config' require 'cacheable_flash/cookie_flash' include CacheableFlash::CookieFlash def self.included(base)