app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-0.16.0 vs app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-0.17.0
- old
+ new
@@ -124,10 +124,10 @@
def human_name
@human_name ||= page_collection_name.humanize
end
- alias_method :page_collection_name, :controller_name
+ alias page_collection_name controller_name
def attach_breadcrumbs
if view_context.current_page? '/'
add_breadcrumb t(:'spotlight.exhibits.breadcrumb', title: current_exhibit.title), main_app.root_path
else