app/controllers/work_accounts_controller.rb in backlog-0.16.0 vs app/controllers/work_accounts_controller.rb in backlog-0.17.0

- old
+ new

@@ -7,10 +7,10 @@ # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html) verify :method => :post, :only => [ :destroy, :create, :update ], :redirect_to => { :action => :list } def list - @work_account_pages, @work_accounts = paginate :work_accounts, :per_page => 10 + @work_accounts = WorkAccount.paginate :page => params[:page] end def show @work_account = WorkAccount.find(params[:id]) end