summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-05 17:27:07 +0100
committerDouwe Maan <douwe@selenight.nl>2016-07-24 13:10:54 -0600
commita55c1232b5922d20942669697c3ee0b5989e5c71 (patch)
tree8f46e6f3759edabfcf3d1323584a8f629a6e7357 /config
parent50e0728cc98ad42230daa1ddf010ff5c4ef0d3ad (diff)
downloadgitlab-ce-a55c1232b5922d20942669697c3ee0b5989e5c71.tar.gz
Resolve all endpoint
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 9be5d423052..cf2f96c74dd 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -825,6 +825,10 @@ Rails.application.routes.draw do
resources :group_links, only: [:index, :create, :destroy], constraints: { id: /\d+/ }
resources :notes, only: [:index, :create, :destroy, :update], constraints: { id: /\d+/ } do
+ collection do
+ post :resolve_all
+ end
+
member do
post :toggle_award_emoji
delete :delete_attachment