gitlab-org--gitlab-foss/config/initializers/routing_draw.rb
2018-10-26 14:27:05 +08:00

3 lines
151 B
Ruby

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