Hey guys okay? I have a problem in pooled routes laravel 5. When I access 'localhost/painel' displays a 404 error (see the code below):
Route::group(['prefix' => 'painel', 'namespace' => 'Backend'], function(){
// Login Routes
Route::get('/', 'LoginController@getLogin');
});
Already I access 'localhost/painel/teste' with the following code works:
Route::group(['prefix' => 'painel', 'namespace' => 'Backend'], function(){
// Login Routes
Route::get('/teste', 'LoginController@getLogin');
});
Only I need that control becomes accessible through the route 'localhost/painel'. What am I doing wrong?
thank you!!!