📜  路由模式不能多次引用变量名. laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:08.125000             🧑  作者: Mango

代码示例1
When you define a route as a resource then Laravel seems to create all the
  routes necessary for your resource: GET, POST, PATCH, DELETE.

So you would just need to define 
Route::resource('taxonomy','TaxonomyController'); 
or 
Route::resource('taxonomy.post','TaxonomyPostController');