Php 在Laravel 5.2中,我们可以使嵌套路由更好吗?

Php 在Laravel 5.2中,我们可以使嵌套路由更好吗?,php,laravel,laravel-routing,nested-routes,Php,Laravel,Laravel Routing,Nested Routes,我在我的Laravel5.2应用程序中有深度嵌套的路由,如下所示: country country.state country.state.county country.state.county.city country.state.county.city.child country.state.county.city.child.status 这迫使我包含所有父子方法参数的ID,这对我来说是个麻烦 如何改进这一点 我不认为我需要显示任何代码来解决这个问题。是吗

我在我的Laravel5.2应用程序中有深度嵌套的路由,如下所示:

country
country.state
country.state.county
country.state.county.city
country.state.county.city.child
country.state.county.city.child.status
这迫使我包含所有父子方法参数的ID,这对我来说是个麻烦

如何改进这一点

我不认为我需要显示任何代码来解决这个问题。是吗