summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 011af4825fa..ab1d8f7ce92 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -356,6 +356,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