diff options
author | Jack Weeden <jack@ajack.org> | 2013-06-25 23:46:07 +0100 |
---|---|---|
committer | Jack Weeden <jack@ajack.org> | 2013-07-01 10:47:39 +0100 |
commit | 6a84d926724d60c208d101525a83ab832ccfcdec (patch) | |
tree | 00d9bdcd82f8767d94ca08ae854bf673c5535266 /config/routes.rb | |
parent | 5ffc90d90df54440f857b46009b1bd63c0786a2d (diff) | |
download | gitlab-ce-6a84d926724d60c208d101525a83ab832ccfcdec.tar.gz |
Added update and delete_attachment actions to note controller
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 39c79635c40..f545ad82f77 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -319,7 +319,10 @@ Gitlab::Application.routes.draw do end end - resources :notes, only: [:index, :create, :destroy] do + resources :notes, only: [:index, :create, :destroy, :update] do + member do + delete :delete_attachment + end collection do post :preview end |