I used this routes for either Laravel 5.1 and Laravel 5.3, and now when I'm using this type of route order it gives me the title error hope you can help me, you can find the code here :
Route::prefix('productos')->group(function () {
'as' => 'products.index',
'uses' => 'ProductController@index'
Route::get('crear',[
'as' => 'products.create',
'uses' => 'ProductController@create'
]);
Route::post('guardar',[
'as' => 'products.store',
'uses' => 'ProductController@store'
]);
// Editar, borrar
Route::get('{id}',[
'as' => 'products.destroy',
'uses' => 'ProductController@destroy'
]);
Route::get('{id}/editar',[
'as' => 'products.edit',
'uses' => 'ProductController@edit'
]);
Route::put('{id}',[
'as' => 'products.update',
'uses' => 'ProductController@update'
]);
});