diff options
author | spag <spag@golwen.net> | 2013-05-13 09:51:45 +0200 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-05-13 09:51:45 +0200 |
commit | d3f55a190eaac938fbb2a027bbe9796d45751201 (patch) | |
tree | 16406760b1584fdb93b90ce96c4c83d5a788c902 /app/controllers/sip_accounts_controller.rb | |
parent | 2e4a23d6d51ee564386c1bf2b0df8d9869cc3b7c (diff) |
pagination fixed
Diffstat (limited to 'app/controllers/sip_accounts_controller.rb')
-rw-r--r-- | app/controllers/sip_accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sip_accounts_controller.rb b/app/controllers/sip_accounts_controller.rb index 8e88405..32d1210 100644 --- a/app/controllers/sip_accounts_controller.rb +++ b/app/controllers/sip_accounts_controller.rb @@ -10,7 +10,7 @@ class SipAccountsController < ApplicationController def index @sip_accounts = @parent.sip_accounts.order(sort_column + ' ' + (sort_descending ? 'DESC' : 'ASC')).paginate( - :page => @pagination_page_number, + :page => params[:page], :per_page => GsParameter.get('DEFAULT_PAGINATION_ENTRIES_PER_PAGE') ) end |