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
|
def show
|
||||||
@author= Author.where(:id => params[:id]).first
|
@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
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ module DashboardsHelper
|
||||||
if params[:action] =='ostatus'
|
if params[:action] =='ostatus'
|
||||||
'OStatus Dashboard'
|
'OStatus Dashboard'
|
||||||
else
|
else
|
||||||
'Dashboard'
|
'Dashboard'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue