Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSteven Thonus <steven@ln2.nl>2014-01-28 01:34:05 +0400
committerSteven Thonus <steven@ln2.nl>2014-01-28 11:38:00 +0400
commit251df827a5308d483a95242970569075ab655703 (patch)
tree00872b5ebaf24ca6c4e964172f59a8380c55d096 /config
parent5221dbfee74e48f379bc06b2848a64243a76270c (diff)
added group avatars
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 611e497c9e5..77247163def 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -156,6 +156,9 @@ Gitlab::Application.routes.draw do
end
resources :users_groups, only: [:create, :update, :destroy]
+ scope module: :groups do
+ resource :avatar, only: [:destroy]
+ end
end
resources :projects, constraints: { id: /[^\/]+/ }, only: [:new, :create]