app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-2.8.0 vs app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-2.9.0
- old
+ new
@@ -29,10 +29,10 @@
end
end
# GET /pages/1
def show
- fresh_when([@page.exhibit, @page])
+ fresh_when([@page.exhibit, @page, request.query_parameters.to_query])
end
def preview
@page = current_exhibit.pages.find(params['id'])
authorize! :read, @page