To protect routes, in Laravel, from unauthorized visits you can use route groups.
All routes in group will be affected by the auth before filter.
Route::group(array('before' => 'auth'), function() { Route::get('controlpanel', 'CustomerPanel@showPanel'); Route::get('secret', 'Secret@showSecret'); Route::post('setup', 'SetupController@doSetup'); });