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
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-05-21 12:15:37 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-05-21 12:15:37 +0300
commiteef6f768219e994fd3847694310e78040eb89815 (patch)
treeda992a6a8481ee62fd5e4a8e99bf3fbcefd90fcc /config
parent6d3f5a33419a6dd52d4f6378f674e28eb22ad323 (diff)
Add network and graphs to legacy routes too
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 65e2d814c7c..fdc2a3c0086 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -507,7 +507,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
constraints: { project_id: Gitlab::PathRegex.project_route_regex },
module: :projects,
as: :project) do
- Gitlab::Routing.redirect_legacy_paths(self, :settings, :branches, :tags)
+ Gitlab::Routing.redirect_legacy_paths(self, :settings, :branches, :tags, :network, :graphs)
end
end
end