mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
refactoring
This commit is contained in:
parent
8812f8da22
commit
363dd8370f
4 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue