Skip to content

Commit

Permalink
Redirect to issue page after destroy chat
Browse files Browse the repository at this point in the history
  • Loading branch information
endenwer committed Apr 7, 2016
1 parent 7adda9c commit ed7a503
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/telegram_group_chats_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def destroy
if @issue.save
TelegramGroupCloseWorker.perform_async(@issue.id, User.current.id)
end

redirect_to issue_path(@issue)
end

private
Expand Down

0 comments on commit ed7a503

Please sign in to comment.