summaryrefslogtreecommitdiff
path: root/app/controllers/projects/settings
diff options
context:
space:
mode:
authorManeschi Romain <rmaneschi@gmail.com>2019-09-05 21:17:36 +0000
committerClement Ho <408677-ClemMakesApps@users.noreply.gitlab.com>2019-09-05 21:17:36 +0000
commitdbca77e346468704a93c68e81a0f7fac84956308 (patch)
tree71cc75e4ab2eab28e809118314a8d4d1833e9c57 /app/controllers/projects/settings
parentaadd1c8c84c451d9ce698d87f08a30a555a0b8b0 (diff)
downloadgitlab-ce-dbca77e346468704a93c68e81a0f7fac84956308.tar.gz
If user can't activate error tracking display a learn more button pointing
to doc
Diffstat (limited to 'app/controllers/projects/settings')
-rw-r--r--app/controllers/projects/settings/operations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/settings/operations_controller.rb b/app/controllers/projects/settings/operations_controller.rb
index 5cfb0ac307d..ec89bb89edc 100644
--- a/app/controllers/projects/settings/operations_controller.rb
+++ b/app/controllers/projects/settings/operations_controller.rb
@@ -3,7 +3,7 @@
module Projects
module Settings
class OperationsController < Projects::ApplicationController
- before_action :authorize_update_environment!
+ before_action :authorize_admin_operations!
helper_method :error_tracking_setting