Closed
Description
namespace :super do
get :ping do
pong = params[:pong] || 'pong'
{ ping: "#{pong.upcase}!!!" }
end
route :any, '*path' do
{ path: params[:path] }
end
end
GET /super/ping
works but GET /super
errors. However, I am able to do POST /super/ping
and have it get picked up by the route :any
. I would expect that nothing to /super
would error.