mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Render error message from the app, instead of mod_epp
This commit is contained in:
parent
9f30ec3cc7
commit
8c1ea03f95
5 changed files with 26 additions and 5 deletions
|
@ -12,8 +12,4 @@ module Epp::Common
|
|||
def parsed_frame
|
||||
Nokogiri::XML(params[:frame]).remove_namespaces!
|
||||
end
|
||||
|
||||
def error
|
||||
render 'error'
|
||||
end
|
||||
end
|
||||
|
|
7
app/controllers/epp/errors_controller.rb
Normal file
7
app/controllers/epp/errors_controller.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class Epp::ErrorsController < ApplicationController
|
||||
include Epp::Common
|
||||
|
||||
def error
|
||||
render '/epp/error'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue