debian-mirror-gitlab/config/initializers/routing_draw.rb

4 lines
151 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
# Adds draw method into Rails routing
2018-12-13 13:39:08 +05:30
# It allows us to keep routing split into files
ActionDispatch::Routing::Mapper.prepend Gitlab::Patch::DrawRoute