diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-04-11 12:04:35 -0500 |
---|---|---|
committer | Jose <jivanvl@hotmail.com> | 2018-04-20 12:48:04 -0500 |
commit | e40bc1b190f51ca42ac12d79b87a0338f2ab0357 (patch) | |
tree | 8ed142024111bedeff8bd9259baadfae7b4b82ed /app/presenters | |
parent | ff77806150a0f965694d9492657e11f6891eba11 (diff) | |
download | gitlab-ce-e40bc1b190f51ca42ac12d79b87a0338f2ab0357.tar.gz |
Create autodevops settings sections
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/project_presenter.rb | 2 |
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'), |