refactoring

This commit is contained in:
olegphenomenon 2022-04-06 10:32:44 +03:00
parent 8812f8da22
commit 363dd8370f
4 changed files with 7 additions and 2 deletions

View file

@ -11,7 +11,11 @@ module EisBilling
registrar = invoice.buyer
bank.create_activity(registrar, invoice)
render status: :ok
respond_to do |format|
format.json do
render status: :ok, content_type: 'application/json', layout: false, json: { message: 'ok' }
end
end
end
private