diff options
author | James Lopez <james.lopez@vodafone.com> | 2015-11-12 08:44:00 +0000 |
---|---|---|
committer | James Lopez <james.lopez@vodafone.com> | 2015-11-12 08:44:00 +0000 |
commit | e11bfa6b86c5b1b838e7e438bcaa599df668f7be (patch) | |
tree | a363053a8346e39cc74dcd927d92a0e122585642 /app/models | |
parent | 77dd561796adb94236422fb9da50482271fadbb1 (diff) | |
download | gitlab-ce-e11bfa6b86c5b1b838e7e438bcaa599df668f7be.tar.gz |
fixing rubocop indents
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/member.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index ab5a8e6228d..a7c599b3598 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -35,7 +35,8 @@ class Member < ActiveRecord::Base allow_nil: true } validates :access_level, inclusion: { in: Gitlab::Access.all_values }, presence: true validates :invite_email, presence: { if: :invite? }, - email: { strict_mode: true, allow_nil: true }, + email: { strict_mode: true, + allow_nil: true }, uniqueness: { scope: [:source_type, :source_id], allow_nil: true } |