lib/nitro/caching/actions.rb in nitro-0.29.0 vs lib/nitro/caching/actions.rb in nitro-0.30.0

- old
+ new

@@ -19,10 +19,12 @@ base.extend(ClassMethods) end module ClassMethods + # Cache the given actions. + def cache_action(*actions) return unless caching_enabled? before( %{ @@ -47,10 +49,9 @@ end private # Expire the cached fragment of the given actions. - # #-- # FIXME: not very good implementation? #++ def expire_action(*actions)