2015年11月23日 星期一

Laravel 5 - Laravel 5 redirect loop error

You are having these redirection loops because all the methods in HomeController are protected by Guest Middleware.
Since you wish to redirect authenticated users to HomeController@index
Remove $this->middleware('guest'); from HomeController
or
Modify the Guest Middleware to ignore index method
$this->middleware('guest', ['only' => ['tutorials','tutorialsCategory']])
List other methods you wish to protect with Guest Middleware excluding Index method


refer : http://stackoverflow.com/questions/30125235/laravel-5-redirect-loop-error

沒有留言:

wibiya widget