summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2017-03-06 14:04:14 +0000
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2017-03-06 14:04:14 +0000
commit77d0de9102e8956f805cd7c52a48684d0b621dc7 (patch)
tree9404860b1959caffaf8f2539a18853547b30e1a5 /config/routes/project.rb
parent597639c09662b5f43ff966938c5e55e485a1563c (diff)
parent348dff0a826c45f00f992e761423a22d2ac32bc3 (diff)
downloadgitlab-ce-77d0de9102e8956f805cd7c52a48684d0b621dc7.tar.gz
Merge branch 'master' into 'zj-create-mattermost-team'
# Conflicts: # db/schema.rb
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 2703bf4ab46..7dc7963ab88 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -267,7 +267,7 @@ constraints(ProjectUrlConstrainer.new) do
resources :group_links, only: [:index, :create, :update, :destroy], constraints: { id: /\d+/ }
- resources :notes, only: [:index, :create, :destroy, :update], concerns: :awardable, constraints: { id: /\d+/ } do
+ resources :notes, only: [:create, :destroy, :update], concerns: :awardable, constraints: { id: /\d+/ } do
member do
delete :delete_attachment
post :resolve
@@ -275,6 +275,8 @@ constraints(ProjectUrlConstrainer.new) do
end
end
+ get 'noteable/:target_type/:target_id/notes' => 'notes#index', as: 'noteable_notes'
+
resources :boards, only: [:index, :show] do
scope module: :boards do
resources :issues, only: [:index, :update]