summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ef3c5aedfcb..32378665c94 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -353,6 +353,8 @@ Gitlab::Application.routes.draw do
delete :delete_attachment
end
end
+
+ resource :avatar, only: [:show, :destroy]
end
end