最佳答案
在Rails中,集合路由和成员路由有什么区别?
例如,
resources :photos do
member do
get :preview
end
end
与
resources :photos do
collection do
get :search
end
end
我不明白。