diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-23 18:11:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-23 18:11:47 +0300 |
commit | 750a63ac4cc7acbecff3b8d22232cb1c15af34fb (patch) | |
tree | c61c790252548a3909466e3dcfe2a98208764fd3 /app/presenters/projects | |
parent | f94cd1d0fb5c0b42ec12a8db02ec90227bb98879 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/projects')
-rw-r--r-- | app/presenters/projects/security/configuration_presenter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/projects/security/configuration_presenter.rb b/app/presenters/projects/security/configuration_presenter.rb index f248652befc..a0d731f0ccf 100644 --- a/app/presenters/projects/security/configuration_presenter.rb +++ b/app/presenters/projects/security/configuration_presenter.rb @@ -55,8 +55,8 @@ module Projects def gitlab_ci_history_path return '' if project.empty_repo? - gitlab_ci = ::Gitlab::FileDetector::PATTERNS[:gitlab_ci] - ::Gitlab::Routing.url_helpers.project_blame_path(project, File.join(project.default_branch_or_main, gitlab_ci)) + ::Gitlab::Routing.url_helpers.project_blame_path( + project, File.join(project.default_branch_or_main, project.ci_config_path_or_default)) end def features |