app/controllers/concerns/adminpanel/rest_actions.rb in adminpanel-2.4.0 vs app/controllers/concerns/adminpanel/rest_actions.rb in adminpanel-2.4.1

- old
+ new

@@ -21,10 +21,10 @@ def index render 'adminpanel/shared/index' end def show - render 'adminpanel/shared/show' if stale?(last_modified: @resource_instance.updated_at.utc, etag: @resource_instance.cache_key) + render 'adminpanel/shared/show' if stale?(@resource_instance, public: true) end def new @resource_instance = @model.new respond_to do |format|