blob: 5132177de516ee6b9eab38a57adfd87e161169b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module Gitlab
module Routing
# Returns the URL helpers Module.
#
# This method caches the output as Rails' "url_helpers" method creates an
# anonymous module every time it's called.
#
# Returns a Module.
def self.url_helpers
@url_helpers ||= Gitlab::Application.routes.url_helpers
end
end
end
|