summaryrefslogtreecommitdiff
path: root/lib/gitlab/patch/draw_route.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/patch/draw_route.rb')
-rw-r--r--lib/gitlab/patch/draw_route.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/patch/draw_route.rb b/lib/gitlab/patch/draw_route.rb
index b00244a6e04..4c8ca015974 100644
--- a/lib/gitlab/patch/draw_route.rb
+++ b/lib/gitlab/patch/draw_route.rb
@@ -5,6 +5,8 @@
module Gitlab
module Patch
module DrawRoute
+ prepend_if_ee('EE::Gitlab::Patch::DrawRoute') # rubocop: disable Cop/InjectEnterpriseEditionModule
+
RoutesNotFound = Class.new(StandardError)
def draw(routes_name)