Sha256: 763b5883ee4768e6058a4b80085127084557251cba5ef6be28a6874c8ca98e37
Contents?: true
Size: 300 Bytes
Versions: 2
Compression:
Stored size: 300 Bytes
Contents
class Admin::PagesController < Admin::ResourceController update.after :expire_cache def new @page = @object end def edit @page = @object end private def expire_cache expire_page :controller => '/static_content', :action => 'show', :path => @object.slug end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_static_content-0.70.3 | app/controllers/admin/pages_controller.rb |
spree_static_content-0.60.1 | app/controllers/admin/pages_controller.rb |