This website works better with JavaScript.
Home
Explore
Help
Sign In
aaronpk
/
spy30
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fixed another home redirect
master
Aaron Parecki
7 years ago
parent
1a275961ba
commit
a6252ce3bd
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/Http/Middleware/RedirectIfAuthenticated.php
+ 1
- 1
app/Http/Middleware/RedirectIfAuthenticated.php
View File
@ -18,7 +18,7 @@ class RedirectIfAuthenticated
public
function
handle
(
$request
,
Closure
$next
,
$guard
=
null
)
{
if
(
Auth
::
guard
(
$guard
)
->
check
())
{
return
redirect
(
'/
home
'
);
return
redirect
(
'/
dashboard
'
);
}
return
$next
(
$request
);
Write
Preview
Loading…
Cancel
Save