diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-20 11:36:51 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-20 11:36:51 +0000 |
commit | 9d22229d2fc6f7c51aa3aaa6f7120ffbba9fc93e (patch) | |
tree | f9f80bc3adb76e3bfb7783b7205f9fada017a0d4 /app/models/member.rb | |
parent | d55971f613e4617a6e90ac8e24e4d7729a9a66f2 (diff) | |
download | redmine-9d22229d2fc6f7c51aa3aaa6f7120ffbba9fc93e.tar.gz redmine-9d22229d2fc6f7c51aa3aaa6f7120ffbba9fc93e.zip |
remove spaces inside {} of app/models/member.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20451 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 1c41018de..0eace2258 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -21,7 +21,7 @@ class Member < ActiveRecord::Base belongs_to :user belongs_to :principal, :foreign_key => 'user_id' has_many :member_roles, :dependent => :destroy - has_many :roles, lambda { distinct }, :through => :member_roles + has_many :roles, lambda {distinct}, :through => :member_roles belongs_to :project validates_presence_of :principal, :project |