summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-08-03 12:50:06 +0100
committerSean McGivern <sean@gitlab.com>2017-08-07 11:55:00 +0100
commit149528f472f3d2f3865ae01c764b81c6a97f9380 (patch)
tree8c9e38e7071b0a0002d3741259a7318e7a0427e5 /config/application.rb
parent03b816f3e845c9b25d3588336fc1616238465deb (diff)
downloadgitlab-ce-149528f472f3d2f3865ae01c764b81c6a97f9380.tar.gz
Support references to group milestones
Group milestones can only be referred to by name, not IID. They also do not support cross-project references.
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index f7145566262..47887bf8596 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -181,7 +181,11 @@ module Gitlab
end
end
+ # We add the MilestonesRoutingHelper because we know that this does not
+ # conflict with the methods defined in `project_url_helpers`, and we want
+ # these methods available in the same places.
Gitlab::Routing.add_helpers(project_url_helpers)
+ Gitlab::Routing.add_helpers(MilestonesRoutingHelper)
end
end
end