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

View file

@ -4,7 +4,7 @@ module DashboardsHelper
if params[:action] =='ostatus'
'OStatus Dashboard'
else
'Dashboard'
'Dashboard'
end
end
end