diff options
author | Maneschi Romain <rmaneschi@gmail.com> | 2019-09-05 21:17:36 +0000 |
---|---|---|
committer | Clement Ho <408677-ClemMakesApps@users.noreply.gitlab.com> | 2019-09-05 21:17:36 +0000 |
commit | dbca77e346468704a93c68e81a0f7fac84956308 (patch) | |
tree | 71cc75e4ab2eab28e809118314a8d4d1833e9c57 /app/controllers | |
parent | aadd1c8c84c451d9ce698d87f08a30a555a0b8b0 (diff) | |
download | gitlab-ce-dbca77e346468704a93c68e81a0f7fac84956308.tar.gz |
If user can't activate error tracking display a learn more button pointing
to doc
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/settings/operations_controller.rb | 2 |
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 |