Order correct on main page

This commit is contained in:
Vladimir Sharshov 2011-11-02 12:27:14 +04:00
parent 153641910f
commit 9c00f9b56b
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class BuildListsController < ApplicationController
@build_lists = @filter.find.paginate :page => params[:page]
else
@filter = BuildList::Filter.new(nil)
@build_lists = BuildList.paginate :page => params[:page]
@build_lists = BuildList.recent.paginate :page => params[:page]
end
@action_url = all_build_lists_path