0
我account_controller有下列行爲:Rails 3路由幫助,我該如何使用資源?
/帳號/指數 /帳號/顯示/ 12321 /帳號/編輯/ 234234
我有這個在我的路線文件至今:
get "accounts/index"
match "accounts/show/:id" => "accounts#show"
我可以以某種方式使用資源嗎?
目前,如果你有我accounts#index
路線行不通的URL,如:
/accounts/