Display 25 items.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11028 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-12-17 18:24:06 +00:00
parent 85fb937a4e
commit 42d3ec3a59
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class AuthSourcesController < ApplicationController
before_filter :find_auth_source, :only => [:edit, :update, :test_connection, :destroy] before_filter :find_auth_source, :only => [:edit, :update, :test_connection, :destroy]
def index def index
@auth_source_pages, @auth_sources = paginate AuthSource, :per_page => 10 @auth_source_pages, @auth_sources = paginate AuthSource, :per_page => 25
end end
def new def new

View File

@ -25,7 +25,7 @@ class TrackersController < ApplicationController
def index def index
respond_to do |format| respond_to do |format|
format.html { format.html {
@tracker_pages, @trackers = paginate Tracker.sorted, :per_page => 10 @tracker_pages, @trackers = paginate Tracker.sorted, :per_page => 25
render :action => "index", :layout => false if request.xhr? render :action => "index", :layout => false if request.xhr?
} }
format.api { format.api {