chore: mark preferred domain to new domain when closing notice
This commit is contained in:
parent
a16f88f8af
commit
2f4444bd5e
9 changed files with 41 additions and 5 deletions
|
@ -63,6 +63,12 @@ module Users
|
|||
redirect_to profil_path
|
||||
end
|
||||
|
||||
def preferred_domain
|
||||
current_user.update_preferred_domain(request.host_with_port)
|
||||
|
||||
head :no_content
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def find_transfers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue