Merge branch 'master' into develop

This commit is contained in:
Graham Campbell
2015-12-02 18:24:27 +00:00
7 changed files with 7 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ class Authenticate
protected $auth;
/**
* Create a new filter instance.
* Create a new middleware instance.
*
* @param Guard $auth
* @return void

View File

@@ -35,7 +35,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next)
{
if ($this->auth->check()) {
return redirect('/home');
return redirect('/');
}
return $next($request);