mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
11 lines
212 B
Ruby
11 lines
212 B
Ruby
class Groups::AvatarsController < Groups::ApplicationController
|
|
before_action :authorize_admin_group!
|
|
|
|
def destroy
|
|
@group.remove_avatar!
|
|
@group.save
|
|
|
|
redirect_to edit_group_path(@group)
|
|
end
|
|
end
|