mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +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
|
@ -2,6 +2,7 @@ Rails.application.routes.draw do
|
|||
namespace(:epp) do
|
||||
match 'session/:command', to: 'sessions#proxy', defaults: { format: :xml }, via: [:get, :post]
|
||||
match 'command/:command', to: 'commands#proxy', defaults: { format: :xml }, via: [:post, :get]
|
||||
get 'error/:command', to: 'errors#error', defaults: { format: :xml }
|
||||
end
|
||||
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue