summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 13:49:34 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 13:49:34 +0100
commit850bb21b12b21fe0cf943278bc8cadad85d48dc5 (patch)
treec06ee98fc285182448bdf9e29a6231b8796d5329 /config
parenta4d75e3aec2e721231bc1e01a2e5e87aefe15113 (diff)
downloadgitlab-ce-850bb21b12b21fe0cf943278bc8cadad85d48dc5.tar.gz
Create show page for tag and render release notes there and on index page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 5836da47eb3..c7aa95118e0 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -569,8 +569,8 @@ Gitlab::Application.routes.draw do
end
resources :branches, only: [:index, :new, :create, :destroy], constraints: { id: Gitlab::Regex.git_reference_regex }
- resources :tags, only: [:index, :new, :create, :destroy], constraints: { id: Gitlab::Regex.git_reference_regex } do
- resource :release
+ resources :tags, only: [:index, :show, :new, :create, :destroy], constraints: { id: Gitlab::Regex.git_reference_regex } do
+ resource :release, only: [:edit, :update]
end
resources :protected_branches, only: [:index, :create, :update, :destroy], constraints: { id: Gitlab::Regex.git_reference_regex }