app/controllers/admin/site_maps_controller.rb in slices-1.0.5 vs app/controllers/admin/site_maps_controller.rb in slices-2.0.0
- old
+ new
@@ -6,10 +6,9 @@
@virtuals = Page.virtual
end
def update
SiteMap.rebuild(params[:sitemap])
- expire_fragment(/navigation/)
- head status: :ok
+ head :no_content
end
end