【发布时间】:2010-09-01 10:07:17
【问题描述】:
地图资源:人员
地图资源:人
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 访问我的应用程序时,如何使用来自 /app/views/persons/ 的视图?
我收到关于缺少人员/show.erb 视图的错误,我不想使用任何符号链接
【问题讨论】:
标签: ruby-on-rails routing views