diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-10-23 15:48:02 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-10-26 09:27:05 +0300 |
commit | d045df3da882fa8bcd0424df096cec0c61b1eaff (patch) | |
tree | 77f3328b73d4174f7d810f43ff036e6991c9a70b /lib/gitlab/patch | |
parent | 52fa309e86d1bafc6b8a986d8bd74fd906b1ebc9 (diff) |
Allow CE do nothing if route doesn't exist
Diffstat (limited to 'lib/gitlab/patch')
-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) |