Merge pull request #4578 from taratatach/force-comments-sort-order-in-mobile-spv

force comments sort order in mobile spv
This commit is contained in:
Fabian Rodriguez 2013-11-07 18:16:52 -08:00
commit 146044bd36
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?