默认路由文件有以下部分:
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
# match ':controller(/:action(/:id))(.:format)'
那么当格式为 ':controller(/:action(/:id))(.:format)' 时让 Rails 假定控制器、动作和视图显示的问题到底是什么?我的意思是,对于更具体的事情,比如嵌套,我总是可以使用特定的路线......