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

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