summaryrefslogtreecommitdiff
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 63b37fb5eb3..b2a18f0e65d 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -29,6 +29,7 @@ class GroupsController < Groups::ApplicationController
end
def create
+ byebug
@group = Groups::CreateService.new(current_user, group_params).execute
if @group.persisted?
@@ -81,6 +82,7 @@ class GroupsController < Groups::ApplicationController
end
def update
+ byebug
if Groups::UpdateService.new(@group, current_user, group_params).execute
redirect_to edit_group_path(@group), notice: "Group '#{@group.name}' was successfully updated."
else
@@ -143,7 +145,8 @@ class GroupsController < Groups::ApplicationController
:share_with_group_lock,
:visibility_level,
:parent_id
- :create_chat_team
+ :create_chat_team,
+ :chat_team_name
]
end