diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-25 01:24:29 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-26 11:30:01 +0300 |
commit | 852f50977111fc11511682217e81cdce908c318f (patch) | |
tree | 4827b13baa3722d9b8d9fa49f45a96fed4a214c1 /app/views/shared/_visibility_radios.html.haml | |
parent | 37edce19dd2f006ef2117ca8a9f05398e704a11c (diff) |
rename skip_level? to disallowed_visibitility_level?
Diffstat (limited to 'app/views/shared/_visibility_radios.html.haml')
-rw-r--r-- | app/views/shared/_visibility_radios.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_visibility_radios.html.haml b/app/views/shared/_visibility_radios.html.haml index 182c4eebd50..7b9453943d1 100644 --- a/app/views/shared/_visibility_radios.html.haml +++ b/app/views/shared/_visibility_radios.html.haml @@ -1,5 +1,5 @@ - Gitlab::VisibilityLevel.values.each do |level| - - next if skip_level?(form_model, level) + - next if disallowed_visibility_level?(form_model, level) .radio - restricted = restricted_visibility_levels.include?(level) = form.label "#{model_method}_#{level}" do |