So the error I am getting is Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException.
Here is the route:
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');
Here is the controller:
/**
* Display a listing of the resource.
* GET /test
*
* @return Response
*/
public function index()
{
return View::make('test.index');
}