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