2,763
社区成员
发帖
与我相关
我的任务
分享
Routing Error
No route matches "/xxx/yyy" with {:method=>:get}
ActionController::Routing::Routes.draw do |map|
map.resources :products
map.resources :products
map.resources :products
map.connect ':controller/:action/:id';
map.connect ':controller/:action/:id.:format';
end
map.resources :Xxx, :collection => { :yyy => :get };