Fix removing avatar for group
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
929ab909c8
commit
32f1a71968
|
@ -1,4 +1,4 @@
|
||||||
class Groups::AvatarsController < ApplicationController
|
class Groups::AvatarsController < Groups::ApplicationController
|
||||||
def destroy
|
def destroy
|
||||||
@group.remove_avatar!
|
@group.remove_avatar!
|
||||||
@group.save
|
@group.save
|
||||||
|
|
Loading…
Reference in New Issue