1
I organized my Controllers by folders: Ex:Dashboard/Concessesionaria/Brands -> Carroscontroller.php
In Rota I tried to inform thus
Route::get('Painel\Concessesionaria\Marcas', ['as' => 'marcas', function () {
Route::get('marcas', 'MarcasController@index');
Route::post('marcas/view', 'MarcasController@view');
Route::post('marcas/add', 'MarcasController@add');
Route::post('marcas/delete', 'MarcasController@delete');
Route::post('marcas/edit', 'MarcasController@edit');
Route::post('marcas/update', 'MarcasController@update');
}]);
But you’re making the following mistake localhost:8000/locations
Notfoundhttpexception in Routecollection.php
Do I need to know which folder you’ve put this Dashboard/Dealerships in? Within App/Http/Controllers?
– Wallace Maxters