Closed hailtonsilva closed 9 years ago
Wait on @msurguy... I'm currently checking other stuffs in this controller. I'll commit everything together and make the pull request again ok
@hailtonsilva looks good!
@hailtonsilva Thank you!
Actually I think we need to have another PR for that, the thing is that we already have "return" statement in "redirectIntended" function and "view" function doesn't need a return statement.
Could you please update you code to:
if (Auth::guest()) {
$this->view('home.login');
}
$this->redirectIntended(route('user.index'));
And I will merge it. Also do the same for the other PR please and test on your local first. Thanks!
Code was tested locally with laravel 4.2 and it works. But yes, I understand that, I'll remove the return. Thank you.
Requested changes was made here
I think it's now well formatted..