提交 e11bfa6b 编写于 作者: J James Lopez

fixing rubocop indents

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册