diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-10-23 20:48:02 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-10-26 14:27:05 +0800 |
commit | d045df3da882fa8bcd0424df096cec0c61b1eaff (patch) | |
tree | 77f3328b73d4174f7d810f43ff036e6991c9a70b /lib | |
parent | 52fa309e86d1bafc6b8a986d8bd74fd906b1ebc9 (diff) | |
download | gitlab-ce-d045df3da882fa8bcd0424df096cec0c61b1eaff.tar.gz |
Allow CE do nothing if route doesn't exist7864-ee-routes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/patch/draw_route.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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) |