同样的,如果你改变你的领域模型不使用“缺省”包,你也会失去导航功能条和在IDE内生成控制器和视图的能力。
Also, if you alter your domain model to not use the "default" package you lose the navigation decorators and the ability to generate Controllers and Views inside the ide.
它综合使用了控制器名称、闭包名称以及数据库记录的主键以确保uri的惟一性。
It USES a combination of the controller name, the closure name, and the database record's primary key to make each URI unique.
回想一下,如果用户不指定一个像list或show这样的操作的话,index闭包就是通往控制器的入口点。
Recall that the index closure is the entry point into the controller if the user doesn't specify a custom action like list or show.
应用推荐