diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-07-04 04:00:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-07-04 04:00:23 +0000 |
commit | ff257d05e34cd8eacef8ddb9053653d3621feb98 (patch) | |
tree | 3590d50f1d47dd6755e37f362831fc575217b417 /app/models/member.rb | |
parent | ee698b50c4dd12141e5c6c5b86939c6ef80e213a (diff) | |
download | redmine-ff257d05e34cd8eacef8ddb9053653d3621feb98.tar.gz redmine-ff257d05e34cd8eacef8ddb9053653d3621feb98.zip |
Replace tabs with spaces (#26333).
Patched by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@16753 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index 0e8fb1d47..f9e3f5679 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -31,7 +31,7 @@ class Member < ActiveRecord::Base scope :active, lambda { joins(:principal).where(:users => {:status => Principal::STATUS_ACTIVE})} - # Sort by first role and principal + # Sort by first role and principal scope :sorted, lambda { includes(:member_roles, :roles, :principal). reorder("#{Role.table_name}.position"). |