I am using Laravel 5.1 native authentication but when accessing a protected route the system does not redirect me to the login screen, instead it shows me the message "You do not have permission to access this resource."
The routes then this way:
Route::group(['prefix'=>'admin','before' => 'auth','middleware'=>['needsRole:Admin'],'namespace'=>'Admin'], function()
{
Route::resource('/', 'HomeController');
Route::resource('users','UsersController');
Route::resource('stores','StoresController');
Route::resource('templates','TemplatesController');
});