diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index fad6b3c569a..54e109f34fa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -358,6 +358,16 @@ Gitlab::Application.routes.draw do to: 'blob#destroy', constraints: { id: /.+/, format: false } ) + put( + '/blob/*id', + to: 'blob#update', + constraints: { id: /.+/, format: false } + ) + post( + '/blob/*id', + to: 'blob#create', + constraints: { id: /.+/, format: false } + ) end scope do |