app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-0.8.2 vs app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-0.9.0
- old
+ new
@@ -10,11 +10,11 @@
def index
role = @exhibit.roles.build
authorize! :edit, role
add_breadcrumb t(:'spotlight.exhibits.breadcrumb', title: @exhibit.title), @exhibit
- add_breadcrumb t(:'spotlight.administration.sidebar.header'), exhibit_dashboard_path(@exhibit)
- add_breadcrumb t(:'spotlight.administration.sidebar.users'), exhibit_roles_path(@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