2015-11-16 11:24:14 -05:00
|
|
|
class Groups::AvatarsController < Groups::ApplicationController
|
2016-03-20 16:03:53 -04:00
|
|
|
before_action :authorize_admin_group!
|
|
|
|
|
2014-01-27 16:34:05 -05:00
|
|
|
def destroy
|
|
|
|
@group.remove_avatar!
|
|
|
|
@group.save
|
|
|
|
|
|
|
|
redirect_to edit_group_path(@group)
|
|
|
|
end
|
|
|
|
end
|