diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-30 16:57:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-30 16:57:56 +0000 |
commit | e7b6a56a972eaed14386d737929f84a7ef59e9a5 (patch) | |
tree | c50137923b3a42c1e894fc0896554e2f4bbb33dd /app/controllers/account_controller.rb | |
parent | 957269930159ddde35324d0666678753ff4bff0b (diff) | |
download | redmine-e7b6a56a972eaed14386d737929f84a7ef59e9a5.tar.gz redmine-e7b6a56a972eaed14386d737929f84a7ef59e9a5.zip |
Replaces User.find_active with a named scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2079 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/account_controller.rb')
-rw-r--r-- | app/controllers/account_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index f327dd5b6..fe44740a4 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -24,7 +24,7 @@ class AccountController < ApplicationController # Show user's account def show - @user = User.find_active(params[:id]) + @user = User.active.find(params[:id]) @custom_values = @user.custom_values # show only public projects and private projects that the logged in user is also a member of |