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:
authorFilipa Lacerda <filipa@gitlab.com>2018-12-10 15:03:00 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2018-12-18 13:01:55 +0300
commit9004e18e6e0bca3deb7115b16e345f9755c012f3 (patch)
treeca1c6ea3b96d7502097ccc6ea920b39eb3dc7784 /config/routes
parenta30491158a10227dee7de96a21df8feff9343efd (diff)
Adds releases index route
Renders empty index page Adds Releases entry to the navigation bar behind a feature flag Renders 404 when feature flag for releases is not enabled
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 7d0623cb904..03c95b61e51 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -95,6 +95,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
+ resources :releases, only: [:index]
resources :forks, only: [:index, :new, :create]
resource :import, only: [:new, :create, :show]