app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-3.2.0 vs app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-3.3.0
- old
+ new
@@ -187,10 +187,10 @@
def breadcrumb_to_exhibit_root(key)
add_breadcrumb t(key, title: current_exhibit.title), spotlight.exhibit_root_path(current_exhibit)
end
- # Only allow a trusted parameter "white list" through.
+ # Only allow trusted parameters through.
def page_params
params.require(controller_name.singularize).permit(allowed_page_params)
end
def redirect_page_to_related_locale_version