app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-0.27.0 vs app/controllers/spotlight/roles_controller.rb in blacklight-spotlight-0.28.0
- old
+ new
@@ -1,11 +1,9 @@
module Spotlight
##
# CRUD actions for assigning exhibit roles to
# existing users
class RolesController < Spotlight::ApplicationController
- include Spotlight::Concerns::UserExistable
- include Spotlight::Concerns::UserInvitable
before_action :authenticate_user!
load_and_authorize_resource :exhibit, class: Spotlight::Exhibit
load_and_authorize_resource through: :exhibit, except: [:update_all]
def index