From d045df3da882fa8bcd0424df096cec0c61b1eaff Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 23 Oct 2018 20:48:02 +0800 Subject: Allow CE do nothing if route doesn't exist --- lib/gitlab/patch/draw_route.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/gitlab/patch/draw_route.rb b/lib/gitlab/patch/draw_route.rb index c7a0b49a948..1192274cafa 100644 --- a/lib/gitlab/patch/draw_route.rb +++ b/lib/gitlab/patch/draw_route.rb @@ -16,8 +16,8 @@ module Gitlab draw_route(route_path("config/routes/#{routes_name}.rb")) end - def draw_ee(routes_name) - draw_route(route_path("ee/config/routes/#{routes_name}.rb")) + def draw_ee(_) + true end def route_path(routes_name) -- cgit v1.2.1