From cdd093363995b4b469eee2ed6a400f432a08402f Mon Sep 17 00:00:00 2001 From: insects Date: Thu, 13 Mar 2025 14:37:07 +0100 Subject: [PATCH] fix: rename challenge log to sprites --- app/views/instance/{_chlog.html.erb => _sprites.html.erb} | 2 +- app/views/instance/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/views/instance/{_chlog.html.erb => _sprites.html.erb} (98%) diff --git a/app/views/instance/_chlog.html.erb b/app/views/instance/_sprites.html.erb similarity index 98% rename from app/views/instance/_chlog.html.erb rename to app/views/instance/_sprites.html.erb index 54273c8..2403f49 100644 --- a/app/views/instance/_chlog.html.erb +++ b/app/views/instance/_sprites.html.erb @@ -1,4 +1,4 @@ -

Challenge log

+

Sprites

<% Bestiary.get_sprites_for_zone(instance.zone).each do |sprite| %> diff --git a/app/views/instance/show.html.erb b/app/views/instance/show.html.erb index c155c92..64d392b 100644 --- a/app/views/instance/show.html.erb +++ b/app/views/instance/show.html.erb @@ -43,7 +43,7 @@
<%= render partial: "fairies", locals: { instance: @instance } %> - <%= render partial: "chlog", locals: { instance: @instance, forecast: @forecast } %> + <%= render partial: "sprites", locals: { instance: @instance, forecast: @forecast } %>