diff --git a/app/controllers/interactions_controller.rb b/app/controllers/interactions_controller.rb index 20cb9c5fd..b3d5abeb8 100644 --- a/app/controllers/interactions_controller.rb +++ b/app/controllers/interactions_controller.rb @@ -3,6 +3,10 @@ class InteractionsController < ApplicationController authorize_resource layout "administration" + def current_ability + @current_ability ||= InteractionAbility.new(current_user) + end + def index end