mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Merge pull request #1952 from internetee/html-error-returned-for-invalid-epp-xml-request
added errors handler
This commit is contained in:
commit
e3edf78aa3
4 changed files with 30 additions and 3 deletions
|
@ -36,6 +36,7 @@ Rails.application.routes.draw do
|
|||
|
||||
post 'command/poll', to: 'polls#poll', as: 'poll', constraints: EppConstraint.new(:poll)
|
||||
get 'error/:command', to: 'errors#error'
|
||||
get 'error', to: 'errors#command_handler'
|
||||
end
|
||||
|
||||
namespace :repp do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue