Skip to content

Commit

Permalink
Update _overview.html.erb
Browse files Browse the repository at this point in the history
Fix `gsub` call on ruby 3.0
  • Loading branch information
Dawa Ometto committed Jan 7, 2023
1 parent 0d6854d commit 25b632b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cutting_edge/templates/_overview.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<% @repos.each do |repo, info| %>

<div class="Box-row Box-row--hover-gray d-flex flex-items-center" role="row">
<div class="flex-auto overflow-hidden"><a href="<%= @repos[repo].url_for_project %>"><%= repo.gsub('/', '<span class="path-divider"> / </span>') %></a></div>
<div class="flex-auto overflow-hidden"><a href="<%= @repos[repo].url_for_project %>"><%= repo.to_s.gsub('/', '<span class="path-divider"> / </span>') %></a></div>
<div><a href="<%= "#{url(repo)}/info" %><%= "?token=#{@repos[repo].hidden_token}" if @repos[repo].hidden? %>"><svg height="20" width="200"><image xlink:href="<%= "#{url(repo)}/svg" %><%= "?token=#{@repos[repo].hidden_token}" if @repos[repo].hidden? %>" /></svg></a></div>
</div>
<% end %>
</div>
</div>

0 comments on commit 25b632b

Please sign in to comment.