Laravel 5 ignore Authentication specific route Laravel 5 ignore Authentication specific route laravel laravel

Laravel 5 ignore Authentication specific route


This is what causes the issue:

/** * Create a new controller instance. * * @return void */public function __construct(){    $this->middleware('auth');}

It restricts access to the page to logged in users. Just remove it from your controller and users will be able to access the page whether they're logged in or not.


public function __construct(){    $this->middleware('auth', ['except' => ['Whatever You want to Bypass']]);}