Commit 4dd21950 authored by Phil Hughes's avatar Phil Hughes

Style changes to Ruby file

parent 92ca24fc
...@@ -8,9 +8,13 @@ module ProtectedBranchAccess ...@@ -8,9 +8,13 @@ module ProtectedBranchAccess
delegate :project, to: :protected_branch delegate :project, to: :protected_branch
validates :access_level, presence: true, inclusion: { in: [Gitlab::Access::MASTER, validates :access_level, presence: true, inclusion: {
Gitlab::Access::DEVELOPER, in: [
Gitlab::Access::NO_ACCESS] } Gitlab::Access::MASTER,
Gitlab::Access::DEVELOPER,
Gitlab::Access::NO_ACCESS
]
}
def self.human_access_levels def self.human_access_levels
{ {
......
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