summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-01-07 19:46:34 +0100
committerPeter Leitzen <pleitzen@gitlab.com>2019-01-07 19:46:34 +0100
commit6710c87434e6d2508dc6b2553594258e77d23723 (patch)
tree50cb2758d6038831dfa2b53782e24b4aac6b6cea /app/helpers/projects_helper.rb
parent191c20d71447dca1a516b27c01a152a43cf8be69 (diff)
downloadgitlab-ce-6710c87434e6d2508dc6b2553594258e77d23723.tar.gz
Implement error tracking configuration
Re-use operations controller which already handles tracing settings.
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index e23e6ec49e4..e67c327f7f8 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -285,7 +285,7 @@ module ProjectsHelper
# overridden in EE
def settings_operations_available?
- false
+ Feature.enabled?(:error_tracking, @project) && can?(current_user, :read_environment, @project)
end
private