Fix redirect
This commit is contained in:
@@ -14,7 +14,7 @@ class PagesController extends Controller
|
|||||||
{
|
{
|
||||||
function dashboard() {
|
function dashboard() {
|
||||||
if (!Auth::check()) {
|
if (!Auth::check()) {
|
||||||
return redirect('/welcome');
|
return redirect('/');
|
||||||
}
|
}
|
||||||
$teams = Team::all();
|
$teams = Team::all();
|
||||||
$matches = Match::all();
|
$matches = Match::all();
|
||||||
|
Reference in New Issue
Block a user