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