Skip to content

Commit

Permalink
Ben/modify home page sidebar (forem#1088)
Browse files Browse the repository at this point in the history
* Modify number of posts in home sidebar tags

* Fix copy/paste error of last commit
  • Loading branch information
benhalpern authored Nov 8, 2018
1 parent ec00df4 commit b9c7aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/articles/_sidebar_additional.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
</header>
<div class="widget-body">
<div class="widget-link-list">
<% Article.active_threads(["ama"], Timeframer.new(params[:timeframe]).datetime, 5).
<% Article.active_threads([tag], Timeframer.new(params[:timeframe]).datetime, 5).
each do |plucked_article| %>
<%= render "articles/widget_list_item", plucked_article: plucked_article, show_comment_count: true %>
<% end %>
Expand Down

0 comments on commit b9c7aa8

Please sign in to comment.