Fix wildcard route and use param style

This commit is contained in:
Shinya Maeda 2017-11-07 21:59:02 +09:00
parent b982a44abb
commit 134e840d23
1 changed files with 1 additions and 1 deletions

View File

@ -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