diff options
author | Alex Ives <alex@ives.mn> | 2018-07-26 23:26:13 -0500 |
---|---|---|
committer | Alex Ives <alex@ives.mn> | 2019-08-22 08:49:40 -0500 |
commit | 3e2b45870ad7d6f356b58e0bdd8852b0ca39ff5a (patch) | |
tree | bf676cbd631d3b51864246089d662ddc0dda012a /config | |
parent | 842b4d4ab59f19f7311b7f39948e699a6924fd52 (diff) | |
download | gitlab-ce-3e2b45870ad7d6f356b58e0bdd8852b0ca39ff5a.tar.gz |
Issue #39099: Add links for latest pipelines
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 9a453d101a1..29e462f904d 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -359,6 +359,9 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do collection do resource :pipelines_settings, path: 'settings', only: [:show, :update] get :charts + scope '(*ref)', constraints: { ref: Gitlab::PathRegex.git_reference_regex } do + get :latest, action: :show, defaults: { latest: true } + end end member do |