From dbca77e346468704a93c68e81a0f7fac84956308 Mon Sep 17 00:00:00 2001 From: Maneschi Romain Date: Thu, 5 Sep 2019 21:17:36 +0000 Subject: If user can't activate error tracking display a learn more button pointing to doc --- app/controllers/projects/settings/operations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/projects/settings') 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 -- cgit v1.2.1