Sha256: 6d4eac0cace40028d4556f906ac90cebdbd023184cee0fa617e5da16208f07ee
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
require 'refinerycms-base' require 'refinerycms-pages' require 'shellac' class Railtie < Rails::Railtie # Enable caching on refinerycms-pages config.after_initialize do Admin::PagesController.class_eval do cache_sweeper :page_sweeper, :only => [:create, :update, :destroy] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-varnish-pages-0.0.1 | lib/refinerycms-varnish-pages.rb |