Render error message from the app, instead of mod_epp

This commit is contained in:
Martin Lensment 2014-06-25 15:38:18 +03:00
parent 9f30ec3cc7
commit 8c1ea03f95
5 changed files with 26 additions and 5 deletions

View file

@ -12,8 +12,4 @@ module Epp::Common
def parsed_frame
Nokogiri::XML(params[:frame]).remove_namespaces!
end
def error
render 'error'
end
end

View file

@ -0,0 +1,7 @@
class Epp::ErrorsController < ApplicationController
include Epp::Common
def error
render '/epp/error'
end
end