summaryrefslogtreecommitdiff
path: root/app/views/pokedex
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pokedex')
-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>