Add epp log view

This commit is contained in:
Martin Lensment 2015-01-13 12:48:00 +02:00
parent 360c2d3db8
commit 0544dbd3ff
13 changed files with 114 additions and 16 deletions

View file

@ -9,7 +9,6 @@ module Epp::Common
included do
protect_from_forgery with: :null_session
before_action :validate_request, only: [:proxy]
after_action :write_to_epp_log
helper_method :current_epp_user
end
@ -117,6 +116,7 @@ module Epp::Common
def render_epp_response(*args)
@response = render_to_string(*args)
render xml: @response
write_to_epp_log
end
def write_to_epp_log