This commit is contained in:
albert
2013-02-19 13:55:20 -05:00
parent 842e4503ed
commit b32f074022
4 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class ForumPostsController < ApplicationController
def index
@search = ForumPost.active.search(params[:search])
@forum_posts = @search.paginate(params[:page]).order("forum_posts.id desc")
@forum_posts = @search.paginate(params[:page]).order("forum_posts.id DESC")
respond_with(@forum_posts)
end