mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 10:43:32 +02:00
Context switching for client
This commit is contained in:
parent
5dfee40b87
commit
b48b91878d
9 changed files with 44 additions and 12 deletions
|
@ -24,7 +24,7 @@ class Client::ContactsController < ClientController
|
|||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
def destroy
|
||||
if @contact.destroy_and_clean
|
||||
flash[:notice] = I18n.t('shared.contact_deleted')
|
||||
redirect_to client_contacts_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue