Files
gitlabhq/app/controllers/groups/avatars_controller.rb
Robert Speicher ed2a8ba600 Merge 8-2-stable into 8-2-stable-ee
Conflicts remaining:

- app/controllers/groups/group_members_controller.rb
- app/controllers/projects/project_members_controller.rb
- app/models/ability.rb
- app/models/member.rb
- app/models/project.rb
2015-11-19 10:33:18 -05:00

9 lines
171 B
Ruby

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