debian-mirror-gitlab/config/initializers/routing_draw.rb
2021-03-11 19:13:27 +05:30

5 lines
182 B
Ruby

# frozen_string_literal: true
# Adds draw method into Rails routing
# It allows us to keep routing split into files
ActionDispatch::Routing::Mapper.prepend Gitlab::Patch::DrawRoute