Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (12 sloc) 274 Bytes
<% @popular_topics.each do |topic| %>
<div class="media">
<div class="media-body">
<h4 class="media-heading">
<%= link_to topic.name, topic %>
</h4>
<small>
<%= topic.posts.count %> posts
</small>
</div>
</div>
<% end %>