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
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups/avatars_controller.rb')
-rw-r--r--app/controllers/groups/avatars_controller.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/controllers/groups/avatars_controller.rb b/app/controllers/groups/avatars_controller.rb
deleted file mode 100644
index 38071410f40..00000000000
--- a/app/controllers/groups/avatars_controller.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-class Groups::AvatarsController < ApplicationController
- layout "profile"
-
- def destroy
- @group = Group.find_by(path: params[:group_id])
- @group.remove_avatar!
-
- @group.save
-
- redirect_to edit_group_path(@group)
- end
-end