It's called a route [skip ci]

This commit is contained in:
James Cole 2016-02-06 22:15:16 +01:00
parent eddd3e508f
commit 92bff24d43

View File

@ -32,8 +32,8 @@ class Authenticate
return redirect()->guest('login');
}
} else {
if(intval(Auth::user()->blocked) === 1) {
return redirect()->action('logout');
if (intval(Auth::user()->blocked) === 1) {
return redirect()->route('logout');
}
}