debian-mirror-gitlab/app/controllers/groups/avatars_controller.rb
2015-11-26 14:37:03 +05:30

8 lines
171 B
Ruby

class Groups::AvatarsController < Groups::ApplicationController
def destroy
@group.remove_avatar!
@group.save
redirect_to edit_group_path(@group)
end
end