Skip to content

Commit

Permalink
Fix for services links containing trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wrightmartin committed Mar 6, 2025
1 parent f0264eb commit ff8f80b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/views/shared/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
<ul class="header__global__menu__category-links">
<% services.each do |service| %>
<li>
<a href="<%= service[:url] %>" target="_blank" class="<%= 'active' if service[:url] == request.base_url %>">
<%= service[:name] %>
</a>
<a href="<%= service[:url] %>" target="_blank" class="<%= 'active' if service[:url] == request.base_url %>"><%= service[:name] %></a>
</li>
<% end %>
</ul>
Expand Down

0 comments on commit ff8f80b

Please sign in to comment.