diff options
author | Reuben Pereira <rpereira@gitlab.com> | 2019-02-06 16:27:18 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-02-06 16:27:18 +0000 |
commit | e5c58b44ca8b736b4846b52aa8db18f4d3d014d2 (patch) | |
tree | c115c7db587b2f3c8610d6674a2603fcd64b6722 /config | |
parent | 0ef68a58e02319440cecb2ca60812b22e249bf4e (diff) | |
download | gitlab-ce-e5c58b44ca8b736b4846b52aa8db18f4d3d014d2.tar.gz |
Add list_projects endpoint to error tracking
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index d730479cf2b..b4ebc7df4fe 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -444,7 +444,11 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end - resources :error_tracking, only: [:index], controller: :error_tracking + resources :error_tracking, only: [:index], controller: :error_tracking do + collection do + post :list_projects + end + end # Since both wiki and repository routing contains wildcard characters # its preferable to keep it below all other project routes |