changed username to slug
This commit is contained in:
@@ -9,7 +9,7 @@ class CompareController extends Controller
|
||||
public function show(User $user)
|
||||
{
|
||||
if (auth()->id() === $user->id) {
|
||||
return redirect()->route('users.show', $user->username);
|
||||
return redirect()->route('users.show', $user->slug);
|
||||
}
|
||||
|
||||
$myGames = auth()->user()->library()->with('game')->get()->keyBy('game_id');
|
||||
|
||||
Reference in New Issue
Block a user