aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/concerns/policy_checker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/policy_checker.rb')
-rw-r--r--app/controllers/concerns/policy_checker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/policy_checker.rb b/app/controllers/concerns/policy_checker.rb
index 9721dc63c..65a4428e2 100644
--- a/app/controllers/concerns/policy_checker.rb
+++ b/app/controllers/concerns/policy_checker.rb
@@ -2,7 +2,7 @@ module PolicyChecker
extend ActiveSupport::Concern
included do
- before_action :authorize_resource, only: [:destroy, :show, :update]
+ before_action :authorize_resource, only: [:destroy, :edit, :show, :update]
before_action :authorize_resource_class, only: [:create, :index, :new]
end