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