Found an answer on stackoverflow
Route::get('owners', array('middleware' => 'auth', 'uses' => 'PownersController@ownerlist'));
Or
$router->group(['middleware' => 'auth'], function($router)
{
Route::get('owners', array('uses' => 'PownersController@ownerlist'));
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community