MS sort the updates on a author's page
This commit is contained in:
parent
dfad30e33b
commit
e0baf9d6c5
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ module DashboardsHelper
|
|||
if params[:action] =='ostatus'
|
||||
'OStatus Dashboard'
|
||||
else
|
||||
'Dashboard'
|
||||
'Dashboard'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue