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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-28 12:26:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-28 12:26:18 +0400
commita184fcf368686f8224315c8afa6e5ec923e37c4b (patch)
treea76232580fb7777de8aba2611bb48a909db42479 /config
parentb6454591ccaeced4c57562167be903308102a25d (diff)
parent251df827a5308d483a95242970569075ab655703 (diff)
Merge pull request #6178 from Popl7/add_group_avatars
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]