made everyting so the lastest is the first thing you see

This commit is contained in:
maxwell 2010-06-17 20:58:20 -07:00
parent 81016729c4
commit 043924b5f5
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ class BlogsController < ApplicationController
def index
@blogs = Blog.all
@blogs = Blog.criteria.all.order_by( [:created_at, :desc] )
end
def show

View file

@ -2,7 +2,7 @@ class BookmarksController < ApplicationController
before_filter :authenticate_user!
def index
@bookmarks = Bookmark.all
@bookmarks = Bookmark.criteria.all.order_by( [:created_at, :desc] )
end
def edit

View file

@ -2,7 +2,7 @@ class FriendsController < ApplicationController
before_filter :authenticate_user!
def index
@friends = Friend.all
@friends = Friend.criteria.all.order_by( [:created_at, :desc] )
end
def show

View file

@ -3,7 +3,7 @@ class StatusMessagesController < ApplicationController
include StatusMessagesHelper
def index
@status_messages = StatusMessage.all
@status_messages = StatusMessage.criteria.all.order_by( [:created_at, :desc] )
@friends = Friend.all
respond_to do |format|

View file

@ -3,7 +3,7 @@ class UsersController < ApplicationController
before_filter :authenticate_user!
def index
@users = User.all
@users = User.criteria.all.order_by( [:created_at, :desc] )
end
end