lib/shellac/actions.rb in shellac-0.0.1 vs lib/shellac/actions.rb in shellac-0.0.2
- old
+ new
@@ -1,12 +1,10 @@
module Shellac
module Actions
- def purge regex
+ def purge regex, recursive=false
return unless perform_caching
- Shellac::Cache.instance.purge regex
+ Shellac::Cache.instance.purge regex, recursive
end
end
-end
-
-ActionController::Base.send :include, Shellac::Actions
+end
\ No newline at end of file