map.resources:人Rails的,同樣的看法,不同的控制器
map.resources:人
class Persons_controller < ApplicationController::Base
#the whole logic for the controller
end
class People_controller < PersonsController
#nothing special there
end
如何使用從/應用/視圖/人/意見,當我訪問我的應用程序從http://mydomain.com/people/1?
我得到一個錯誤的失蹤人員/ show.erb看法,我不希望使用任何符號鏈接
謝謝,但我想留在默認目錄 – astropanic 2010-09-01 10:28:41