mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 08:36:06 +10:00
fixing rubocop indents
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user