0
我想改變如下路線語法,因此它的使用Rails 3.0路線在軌道3語法從軌道2〜3
map.namespace(:admin, :path_prefix => 'refinery') do |admin|
admin.resources :dashboard
admin.disable_upgrade_message 'disable_upgrade_message', :controller => 'dashboard', :action => 'disable_upgrade_message'
end
好的,那有什麼問題? http://guides.rubyonrails.org/routing.html – coreyward