Переглянути джерело

Display 25 items.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11028 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.3.0
Jean-Philippe Lang 11 роки тому
джерело
коміт
42d3ec3a59

+ 1
- 1
app/controllers/auth_sources_controller.rb Переглянути файл

@@ -23,7 +23,7 @@ class AuthSourcesController < ApplicationController
before_filter :find_auth_source, :only => [:edit, :update, :test_connection, :destroy]

def index
@auth_source_pages, @auth_sources = paginate AuthSource, :per_page => 10
@auth_source_pages, @auth_sources = paginate AuthSource, :per_page => 25
end

def new

+ 1
- 1
app/controllers/trackers_controller.rb Переглянути файл

@@ -25,7 +25,7 @@ class TrackersController < ApplicationController
def index
respond_to do |format|
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?
}
format.api {

Завантаження…
Відмінити
Зберегти