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

avatars_controller.rb « groups « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76c87366baad198859a3dd9dfd77849c45437fb2 (plain)
1
2
3
4
5
6
7
8
class Groups::AvatarsController < Groups::ApplicationController
  def destroy
    @group.remove_avatar!
    @group.save

    redirect_to edit_group_path(@group)
  end
end