Skip to content

Commit

Permalink
[ifmeorg#1713] limit resources display to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Warmenhoven committed Apr 6, 2020
1 parent dc7324e commit 20a8a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/moments/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="smallMarginTop">
<div class="label">What Resources could help?</div>
<ul>
<% @resources.each do |resource| %>
<% @resources.first(3).each do |resource| %>
<li><%= link_to resource["name"], resource["link"] %></li>
<% end %>
<li><%= link_to 'More...', '/resources' %></li>
Expand Down

0 comments on commit 20a8a14

Please sign in to comment.