order comments by the most recent first
This commit is contained in:
@@ -25,4 +25,4 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
<%= render 'comments/form', {parent: @debate, toggeable: false} %>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= render @debate.root_comments %>
|
||||
<%= render @debate.root_comments.recent %>
|
||||
</div>
|
||||
<% if current_user && @debate.editable_by?(current_user) %>
|
||||
<%= link_to t("debates.show.edit_debate_link"), edit_debate_path(@debate), :class => 'button radius right' %>
|
||||
<% end %>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user