diff options
author | rpereira2 <rpereira@gitlab.com> | 2019-01-28 16:52:31 +0530 |
---|---|---|
committer | rpereira2 <rpereira@gitlab.com> | 2019-02-06 21:09:00 +0530 |
commit | a5b20599ddc80d9d29b691ec47f84940ccb70d41 (patch) | |
tree | 8dc211fa7028d2202680d6870088647dcee49451 | |
parent | 39a295848776d06159bc783d368e0aefa7159acc (diff) | |
download | gitlab-ce-a5b20599ddc80d9d29b691ec47f84940ccb70d41.tar.gz |
Fix route for listing Sentry projects
-rw-r--r-- | config/routes/project.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index b0c2143babd..ccbe36d1021 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -444,11 +444,9 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end - resources :error_tracking, only: [:index], controller: :error_tracking do - collection do - post 'list_projects' - end - end + resources :error_tracking, only: [:index], controller: :error_tracking + + post 'list_projects', to: 'error_tracking#list_projects' # Since both wiki and repository routing contains wildcard characters # its preferable to keep it below all other project routes |