From: Aidan Cornelius-Bell Date: Mon, 16 Jun 2025 04:00:34 +0000 (+0930) Subject: fixed a small mistake X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=4ac56f4568ac4b9b477c3f3e50a461ab0104245d;p=arelpe.git fixed a small mistake --- diff --git a/app/views/pubview/index.html.erb b/app/views/pubview/index.html.erb index 25794af..a906d5a 100644 --- a/app/views/pubview/index.html.erb +++ b/app/views/pubview/index.html.erb @@ -24,7 +24,7 @@ posted <%= item.published_at.strftime('%d/%m/%y') %>, tagged with <%= raw item.format_tags %>
- <% if item.audio.present? && @post.audio.file.attached? %> + <% if item.audio.present? && item.audio.file.attached? %> <%= render partial: "shared/audio_player", locals: { audio: item.audio } %> <% end %> <%= raw item.rendered_content.html_safe %>