app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-4.1.2 vs app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-4.2.0

- old
+ new

@@ -11,12 +11,12 @@ def index role = @exhibit.roles.build authorize! :edit, role - add_breadcrumb t(:'spotlight.exhibits.breadcrumb', title: @exhibit.title), @exhibit - add_breadcrumb t(:'spotlight.configuration.sidebar.header'), exhibit_dashboard_path(@exhibit) - add_breadcrumb t(:'spotlight.configuration.sidebar.users'), exhibit_roles_path(@exhibit) + add_breadcrumb(t(:'spotlight.exhibits.breadcrumb', title: @exhibit.title), @exhibit) + add_breadcrumb(t(:'spotlight.configuration.sidebar.header'), exhibit_dashboard_path(@exhibit)) + add_breadcrumb(t(:'spotlight.configuration.sidebar.users'), exhibit_roles_path(@exhibit)) end def update_all authorize_nested_attributes! exhibit_params[:roles_attributes], Role