gitlab-org--gitlab-foss/config/initializers/routing_draw.rb

4 lines
151 B
Ruby
Raw Normal View History

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