BigW Consortium Gitlab

Commit 3bc012db by Tomasz Maczukin

Fix GitlabV::isibilityLevel::level_name method

parent 7cb442ee
......@@ -55,7 +55,7 @@ module Gitlab
def level_name(level)
level_name = 'Unknown'
options.each do |name, lvl|
level_name = name if lvl == level
level_name = name if lvl == level.to_i
end
level_name
......
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