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/profiles/avatars_controller.rb')
-rw-r--r--app/controllers/profiles/avatars_controller.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/profiles/avatars_controller.rb b/app/controllers/profiles/avatars_controller.rb
deleted file mode 100644
index 57f3bbf0627..00000000000
--- a/app/controllers/profiles/avatars_controller.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class Profiles::AvatarsController < ApplicationController
- layout "profile"
-
- def destroy
- @user = current_user
- @user.remove_avatar!
-
- @user.save
- @user.reset_events_cache
-
- redirect_to profile_path
- end
-end