Commit e11bfa6b authored by James Lopez's avatar James Lopez

fixing rubocop indents

parent 77dd5617
......@@ -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 }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment