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
沒有留言:
張貼留言