From 77d0a2937fbfde0110a30f55d90fa7ed27f55f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Erik=20=C3=95unapuu?= Date: Fri, 29 May 2020 16:49:25 +0300 Subject: [PATCH] Fix render_to_string call --- app/controllers/epp/base_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/epp/base_controller.rb b/app/controllers/epp/base_controller.rb index fb48c285a..4c099730f 100644 --- a/app/controllers/epp/base_controller.rb +++ b/app/controllers/epp/base_controller.rb @@ -118,7 +118,7 @@ module Epp end def render_epp_response(*args) - @response = render_to_string(*args, formats: 'xml') + @response = render_to_string(*args, formats: [:xml]) render xml: @response write_to_epp_log end