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:
authorShinya Maeda <shinya@gitlab.com>2017-11-07 15:59:02 +0300
committerShinya Maeda <shinya@gitlab.com>2017-11-07 15:59:02 +0300
commit134e840d23ea08bfd578f9622ffec60c01ed665c (patch)
tree011d1e95ac8d3a0c5d464f53db183eb8582f0cfe /config
parentb982a44abb53835276739d77f7fedc69d36c3dab (diff)
Fix wildcard route and use param style
Diffstat (limited to 'config')
-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