Таким образом, я получаю ошибку: Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException.
Вот маршрут:
Route::get('/', 'AuthController@index'); Route::get('/login', 'AuthController@login'); Route::post('/login', ['before' => 'csrf', 'uses' => 'AuthController@authenticate']); Route::get('/logout', 'AuthController@logout'); Route::group(['before' => 'auth'], function() { $noIndex = [ 'except' => ['index'] ]; $noShow = [ 'except' => ['show'] ]; Route::get('/dashboard', 'PagesController@dashboard'); Route::get('/test', 'MessageController@index');
Вот контроллер:
/** * Display a listing of the resource. * GET /test * * @return Response */ public function index() { return View::make('test.index'); }