diff options
author | David Gay <david@davidgay.org> | 2023-11-03 02:11:02 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2023-11-03 02:11:02 -0400 |
commit | d4c92922e393876e93ad13943ba45fb08586e6c8 (patch) | |
tree | 5460ab24695c978080133ae9af9dcbf8b4bca55c /app/views/layouts | |
parent | 13f4f6ca06a216962f4c25fa0d6041945cfb3fb5 (diff) |
Pokedex: Grey out uncaptured pokemon
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/application.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2332cd5..073a2f7 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -23,7 +23,7 @@ </div> <div class="space-x-8 nav-links"> <% if user_signed_in? %> - <%= link_to "Pokédex", pokedex_path %> + <%= link_to "Pokédex", pokedex_path(user_id: current_user.id) %> <%= link_to "Trainer", user_path(current_user) %> <%= link_to "Sign out", destroy_user_session_path %> <% else %> |