Merge branch 'master' of github.com:domify/registry

This commit is contained in:
Martin Lensment 2015-05-26 18:01:19 +03:00
commit 19742b2da5
4 changed files with 16 additions and 6 deletions

View file

@ -98,6 +98,7 @@ class EppController < ApplicationController
@response = render_to_string(*args)
render xml: @response
write_to_epp_log
iptables_counter_update
end
# VALIDATION
@ -282,4 +283,8 @@ class EppController < ApplicationController
end
# rubocop: enable Metrics/PerceivedComplexity
# rubocop: enable Metrics/CyclomaticComplexity
def iptables_counter_update
`ENV['iptables_counter_update_command']` if ENV['iptables_counter_update_command'].present?
end
end