summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2018-04-11 12:04:35 -0500
committerJose <jivanvl@hotmail.com>2018-04-20 12:48:04 -0500
commite40bc1b190f51ca42ac12d79b87a0338f2ab0357 (patch)
tree8ed142024111bedeff8bd9259baadfae7b4b82ed /app/presenters
parentff77806150a0f965694d9492657e11f6891eba11 (diff)
downloadgitlab-ce-e40bc1b190f51ca42ac12d79b87a0338f2ab0357.tar.gz
Create autodevops settings sections
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/project_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/project_presenter.rb b/app/presenters/project_presenter.rb
index 484ac64580d..5313d1df125 100644
--- a/app/presenters/project_presenter.rb
+++ b/app/presenters/project_presenter.rb
@@ -260,7 +260,7 @@ class ProjectPresenter < Gitlab::View::Presenter::Delegated
if current_user && can?(current_user, :admin_pipeline, project) && repository.gitlab_ci_yml.blank? && !show_auto_devops_callout
OpenStruct.new(enabled: auto_devops_enabled?,
label: auto_devops_enabled? ? _('Auto DevOps enabled') : _('Enable Auto DevOps'),
- link: project_settings_ci_cd_path(project, anchor: 'js-general-pipeline-settings'))
+ link: project_settings_ci_cd_path(project, anchor: 'js-autodevops-settings'))
elsif auto_devops_enabled?
OpenStruct.new(enabled: true,
label: _('Auto DevOps enabled'),