mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Added missing abilities to xml_console and contacts controllers
This commit is contained in:
parent
e971638938
commit
e7a976ce89
3 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@ module EppRequestable
|
|||
end
|
||||
|
||||
def create
|
||||
authorize! :create, Epp::Server
|
||||
result = server.request(request_params[:payload])
|
||||
render_success(data: { xml: result.force_encoding('UTF-8') })
|
||||
rescue StandardError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue