summaryrefslogtreecommitdiff
path: root/app/controllers/groups/avatars_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups/avatars_controller.rb')
-rw-r--r--app/controllers/groups/avatars_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups/avatars_controller.rb b/app/controllers/groups/avatars_controller.rb
index ad2c20b42db..735915abdaa 100644
--- a/app/controllers/groups/avatars_controller.rb
+++ b/app/controllers/groups/avatars_controller.rb
@@ -5,6 +5,6 @@ class Groups::AvatarsController < Groups::ApplicationController
@group.remove_avatar!
@group.save
- redirect_to edit_group_path(@group)
+ redirect_to edit_group_path(@group), status: 302
end
end