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

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