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

6 lines
182 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
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