module Shellac module Actions def purge regex return unless perform_caching Shellac::Cache.instance.purge regex end end end ActionController::Base.send :include, Shellac::Actions