change peoplecontroller order, fix grammar in public default

This commit is contained in:
Raphael Sofaer 2011-03-11 10:12:18 -08:00
parent 879672576f
commit fbfd46a506
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ class PeopleController < ApplicationController
else else
@commenting_disabled = false @commenting_disabled = false
end end
@posts = current_user.posts_from(@person).where(:type => "StatusMessage").paginate(:per_page => 15, :page => params[:page]) @posts = current_user.posts_from(@person).where(:type => "StatusMessage").paginate(:per_page => 15, :page => params[:page], :order => 'posts.created_at DESC')
else else
@commenting_disabled = true @commenting_disabled = true
@posts = @person.posts.where(:type => "StatusMessage", :public => true).paginate(:per_page => 15, :page => params[:page], :order => 'updated_at DESC') @posts = @person.posts.where(:type => "StatusMessage", :public => true).paginate(:per_page => 15, :page => params[:page], :order => 'updated_at DESC')

View file

@ -178,7 +178,7 @@
<li> <li>
<h2>Make a new user!</h2> <h2>Make a new user!</h2>
<p>click on login link to make it happen</p> <p>click on the login link to make it happen</p>
</li> </li>
<li> <li>