app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-1.1.0 vs app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-1.2.0

- old
+ new

@@ -19,9 +19,10 @@ def update_all authorize_nested_attributes! exhibit_params[:roles_attributes], Role if @exhibit.update(exhibit_params) notice = any_deleted ? t(:'helpers.submit.role.destroyed') : t(:'helpers.submit.role.updated') + Spotlight::InviteUsersService.call(resource: @exhibit) redirect_to exhibit_roles_path(@exhibit), notice: notice else flash[:alert] = t(:'helpers.submit.role.batch_error', count: exhibit_params[:roles_attributes].to_unsafe_h.size) render action: 'index' end