Order correct on main page
This commit is contained in:
parent
153641910f
commit
9c00f9b56b
|
@ -13,7 +13,7 @@ class BuildListsController < ApplicationController
|
||||||
@build_lists = @filter.find.paginate :page => params[:page]
|
@build_lists = @filter.find.paginate :page => params[:page]
|
||||||
else
|
else
|
||||||
@filter = BuildList::Filter.new(nil)
|
@filter = BuildList::Filter.new(nil)
|
||||||
@build_lists = BuildList.paginate :page => params[:page]
|
@build_lists = BuildList.recent.paginate :page => params[:page]
|
||||||
end
|
end
|
||||||
@action_url = all_build_lists_path
|
@action_url = all_build_lists_path
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue