changed username to slug

This commit is contained in:
Doar Mihai
2026-05-30 23:47:32 +03:00
parent ece3070676
commit bdb4457e77
15 changed files with 77 additions and 46 deletions
+1 -1
View File
@@ -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');