debian-mirror-gitlab/config/initializers/routing_draw.rb
2018-12-13 13:39:08 +05:30

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