I have the following route:
我有以下路线:
Rails.application.routes.draw do
get '/:id', to: 'foo#bar', constraints: { id: /\d+/ }
end
Rails.aI have the following route:
我有以下路线:
Rails.application.routes.draw do
get '/:id', to: 'foo#bar', constraints: { id: /\d+/ }
end
Rails.a