MS sort the updates on a author's page

This commit is contained in:
maxwell 2010-07-22 23:36:37 -07:00
parent dfad30e33b
commit e0baf9d6c5
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ class AuthorsController < ApplicationController
def show
@author= Author.where(:id => params[:id]).first
@author_ostatus_posts = @author.ostatus_posts
@author_ostatus_posts = @author.ostatus_posts.sort(:created_at.desc)
end
end