http://guides.rubyonrails.org/getting_started.html
遇到错误
ActionController::UnknownAction (No action responded to 2. Actions: create, destroy, edit, index, new, show, and update):
解决方法
config/routes.rb 里
map.resources 需写在map.connect前面
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
1191

被折叠的 条评论
为什么被折叠?



