summaryrefslogtreecommitdiff
path: root/app/views/pokedex/show.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2023-11-03 01:03:48 -0400
committerDavid Gay <david@davidgay.org>2023-11-03 01:03:48 -0400
commit0c5cccbecfc8b71fb318c275f142306e19bb7e43 (patch)
tree178b401fe2ecf6bd965524e078e9882305342a69 /app/views/pokedex/show.html.erb
parent47ecf3f515ef5bd7db2c4f3bce0a872a46ca2233 (diff)
Pokedex entry recording and viewing on runs#show
Diffstat (limited to 'app/views/pokedex/show.html.erb')
-rw-r--r--app/views/pokedex/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/pokedex/show.html.erb b/app/views/pokedex/show.html.erb
index f920b19..e463d58 100644
--- a/app/views/pokedex/show.html.erb
+++ b/app/views/pokedex/show.html.erb
@@ -8,7 +8,7 @@
border border-orange-900 rounded shadow">
<div class="flex-1 text-display text-center">No. <%= pokemon.pokedex_num %></div>
<div class="flex-grow flex flex-col justify-around">
- <%= image_tag "sprites/pokemon/#{pokemon.pokedex_num}.png" %>
+ <%= image_tag pokemon.sprite_path %>
</div>
<div class="flex-1"><%= pokemon.name %></div>
</div>