@@ -25,7 +25,7 class IssueStatusesController < ApplicationController | |||||
25 | def index |
|
25 | def index | |
26 | respond_to do |format| |
|
26 | respond_to do |format| | |
27 | format.html { |
|
27 | format.html { | |
28 |
@issue_status_pages, @issue_statuses = paginate |
|
28 | @issue_status_pages, @issue_statuses = paginate IssueStatus.sorted, :per_page => 25 | |
29 | render :action => "index", :layout => false if request.xhr? |
|
29 | render :action => "index", :layout => false if request.xhr? | |
30 | } |
|
30 | } | |
31 | format.api { |
|
31 | format.api { |
@@ -26,7 +26,7 class RolesController < ApplicationController | |||||
26 | def index |
|
26 | def index | |
27 | respond_to do |format| |
|
27 | respond_to do |format| | |
28 | format.html { |
|
28 | format.html { | |
29 |
@role_pages, @roles = paginate |
|
29 | @role_pages, @roles = paginate Role.sorted, :per_page => 25 | |
30 | render :action => "index", :layout => false if request.xhr? |
|
30 | render :action => "index", :layout => false if request.xhr? | |
31 | } |
|
31 | } | |
32 | format.api { |
|
32 | format.api { |
@@ -25,7 +25,7 class TrackersController < ApplicationController | |||||
25 | def index |
|
25 | def index | |
26 | respond_to do |format| |
|
26 | respond_to do |format| | |
27 | format.html { |
|
27 | format.html { | |
28 |
@tracker_pages, @trackers = paginate |
|
28 | @tracker_pages, @trackers = paginate Tracker.sorted, :per_page => 10 | |
29 | render :action => "index", :layout => false if request.xhr? |
|
29 | render :action => "index", :layout => false if request.xhr? | |
30 | } |
|
30 | } | |
31 | format.api { |
|
31 | format.api { |
General Comments 0
You need to be logged in to leave comments.
Login now