diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-26 21:33:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-26 21:33:44 +0000 |
commit | 95cc65f14e02efd18cbb6716a0e0fdf329dae144 (patch) | |
tree | 6e40d3e7cc84052a0dff14c7ebd8b1b5f78e53c2 /app/controllers/admin_controller.rb | |
parent | b3a3d3e2fab59c542c40135b242364780e9a9768 (diff) | |
download | redmine-95cc65f14e02efd18cbb6716a0e0fdf329dae144.tar.gz redmine-95cc65f14e02efd18cbb6716a0e0fdf329dae144.zip |
replaced deprecated controller instance variables: @params, @session, @request
git-svn-id: http://redmine.rubyforge.org/svn/trunk@127 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 2c9f67586..a9a6a8f0b 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -31,7 +31,7 @@ class AdminController < ApplicationController @project_count = Project.count
@project_pages = Paginator.new self, @project_count,
15,
- @params['page']
+ params['page']
@projects = Project.find :all, :order => sort_clause,
:limit => @project_pages.items_per_page,
:offset => @project_pages.current.offset
|