0
這是我在rails2路由如何在軌道3路由在Rails3中
map.resources :users,
:collection => {
:sample => :post,
:select_ant => :get,
:list_ant => :get,
:list_mod => :get },
:member => {
:new_sample => :get,
:create_sample => :post,
:new_sprof=>:get,
:create_sprof=>:post } do |user|
user.resources :semails,
:collection => {
:sort => :get,
:save_samplesemail => :post }
end
任何想法改變呢?