Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/routing.rb')
-rw-r--r--lib/gitlab/routing.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/gitlab/routing.rb b/lib/gitlab/routing.rb
index fd9fb8ab7e2..1684ecf6ff6 100644
--- a/lib/gitlab/routing.rb
+++ b/lib/gitlab/routing.rb
@@ -47,22 +47,6 @@ module Gitlab
self._includers << klass
end
- def self.add_helpers(mod)
- url_helpers.include mod
- url_helpers.extend mod
-
- GitlabRoutingHelper.include mod
- GitlabRoutingHelper.extend mod
-
- app_url_helpers = Gitlab::Application.routes.named_routes.url_helpers_module
- app_url_helpers.include mod
- app_url_helpers.extend mod
-
- _includers.each do |klass|
- klass.include mod
- end
- end
-
# Returns the URL helpers Module.
#
# This method caches the output as Rails' "url_helpers" method creates an