summaryrefslogtreecommitdiff
path: root/app/views/shared/_visibility_radios.html.haml
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-24 17:24:29 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-26 03:30:01 -0500
commit852f50977111fc11511682217e81cdce908c318f (patch)
tree4827b13baa3722d9b8d9fa49f45a96fed4a214c1 /app/views/shared/_visibility_radios.html.haml
parent37edce19dd2f006ef2117ca8a9f05398e704a11c (diff)
downloadgitlab-ce-852f50977111fc11511682217e81cdce908c318f.tar.gz
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.haml2
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