Skip to content

Commit

Permalink
articles limit
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Apr 24, 2024
1 parent e7e652c commit 1b75373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<%= render "spotlights/form" %>
<% if @user.posts.published.any? %>
<%= render "article_side", articles: @user.posts.published %>
<%= render "article_side", articles: @user.posts.published.limit(3) %>
<% end %>
<% end %>
Expand Down

0 comments on commit 1b75373

Please sign in to comment.