Skip to content

Commit 5a94e8d

Browse files
committed
Fix logo rendering in icon rail — use image_tag for PNG
1 parent 5325b2b commit 5a94e8d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/views/shared/_icon_rail.html.erb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
>
66
<%# App logo — branding %>
77
<%= link_to root_path, class: "btn btn-ghost btn-square", title: t("shared.navigation.home") do %>
8-
<%= begin
9-
inline_svg_tag "logo.png", class: "size-8", aria: { hidden: true }
10-
rescue StandardError
11-
image_tag("logo.png", class: "size-8", aria: { hidden: true })
12-
end %>
8+
<%= image_tag "logo.png", class: "size-8", aria: { hidden: true } %>
139
<% end %>
1410

1511
<%# Search %>

0 commit comments

Comments
 (0)