force comments sort order in mobile spv

This commit is contained in:
Erwan Guyader 2013-11-07 01:20:14 -08:00
parent 3251fce3d6
commit 0afdb134f8
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@
* Add a white background to images shown in the lightbox [#4475](https://github.com/diaspora/diaspora/issues/4475)
* Refactor getting_started page, test if facebook is available, fix [#4520](https://github.com/diaspora/diaspora/issues/4520)
* Avoid publishing empty posts [#4542](https://github.com/diaspora/diaspora/pull/4542)
* Force comments sort order in mobile spv [#4578](https://github.com/diaspora/diaspora/pull/4578)
## Features
* Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353)

View file

@ -43,7 +43,7 @@
= post.likes.size
%ul.comments
= render :partial => 'comments/comment', :collection => post.comments, :locals => {:post => post}
= render :partial => 'comments/comment', :collection => post.comments.order('created_at ASC')
%li.comment.add_comment_bottom_link_container
- if user_signed_in?