summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-07 21:59:02 +0900
committerShinya Maeda <shinya@gitlab.com>2017-11-07 21:59:02 +0900
commit134e840d23ea08bfd578f9622ffec60c01ed665c (patch)
tree011d1e95ac8d3a0c5d464f53db183eb8582f0cfe
parentb982a44abb53835276739d77f7fedc69d36c3dab (diff)
downloadgitlab-ce-134e840d23ea08bfd578f9622ffec60c01ed665c.tar.gz
Fix wildcard route and use param style
-rw-r--r--config/routes/project.rb2
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