Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-02-06 19:27:18 +0300
committerSean McGivern <sean@gitlab.com>2019-02-06 19:27:18 +0300
commite5c58b44ca8b736b4846b52aa8db18f4d3d014d2 (patch)
treec115c7db587b2f3c8610d6674a2603fcd64b6722 /config
parent0ef68a58e02319440cecb2ca60812b22e249bf4e (diff)
Add list_projects endpoint to error tracking
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb6
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