Sha256: 28cefeda59eec51fd0d92c206daf26ec490f462e80ba297c99e4c9ae1c26205b
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
require 'refinerycms-pages' require 'shellac' module Refinery module VarnishPages class Engine < Rails::Engine config.before_initialize do require File.expand_path('../refinerycms_varnish/pages_controller_extension', __FILE__) require File.expand_path('../refinerycms_varnish/page_extension', __FILE__) end refinery.after_inclusion do ::Admin::PagesController.send :include, RefinerycmsVarnish::PagesControllerExtension end config.to_prepare do ::Page.send :include, ::RefinerycmsVarnish::PageExtension end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-varnish-pages-0.0.2.1 | lib/refinerycms-varnish-pages.rb |
refinerycms-varnish-pages-0.0.2 | lib/refinerycms-varnish-pages.rb |