diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-31 20:57:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-31 20:57:01 +0000 |
commit | 671a0fa10161ead2ec0fef888710cf7d872b2f61 (patch) | |
tree | f7b9068afbc1d1e360106b9584cd88aa89f10ab1 /app/controllers/users_controller.rb | |
parent | 99f006f2c959ce9d1e5136e950ca448cc92ec7c9 (diff) | |
download | redmine-671a0fa10161ead2ec0fef888710cf7d872b2f61.tar.gz redmine-671a0fa10161ead2ec0fef888710cf7d872b2f61.zip |
added the ability to set the sort order for roles
git-svn-id: http://redmine.rubyforge.org/svn/trunk@208 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 14f8ecff3..4ddbe0548 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -80,7 +80,7 @@ class UsersController < ApplicationController end
end @auth_sources = AuthSource.find(:all)
- @roles = Role.find :all
+ @roles = Role.find(:all, :order => 'position')
@projects = Project.find(:all) - @user.projects
@membership ||= Member.new
end
|