diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-07 21:59:02 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-07 21:59:02 +0900 |
commit | 134e840d23ea08bfd578f9622ffec60c01ed665c (patch) | |
tree | 011d1e95ac8d3a0c5d464f53db183eb8582f0cfe /config/routes | |
parent | b982a44abb53835276739d77f7fedc69d36c3dab (diff) | |
download | gitlab-ce-134e840d23ea08bfd578f9622ffec60c01ed665c.tar.gz |
Fix wildcard route and use param style
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index cb0e6078db0..bdafaba3ab3 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -193,7 +193,7 @@ constraints(ProjectUrlConstrainer.new) do get :status, format: :json scope :applications do - post '/*application', to: 'clusters/applications#create', as: :install_applications + post '/:application', to: 'clusters/applications#create', as: :install_applications end end end |