Commit ffda77fc authored by Lin Jen-Shin's avatar Lin Jen-Shin

Make it clear that we intent to use | over ||

parent 50976c6f
......@@ -10,8 +10,9 @@ module Gitlab
RoutesNotFound = Class.new(StandardError)
def draw(routes_name)
draw_ce(routes_name) | draw_ee(routes_name) ||
raise(RoutesNotFound.new("Cannot find #{routes_name}"))
drawn_any = draw_ce(routes_name) | draw_ee(routes_name)
drawn_any || raise(RoutesNotFound.new("Cannot find #{routes_name}"))
end
def draw_ce(routes_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