mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Validate not_found too against schema #2752
This commit is contained in:
parent
626fa6d25d
commit
c38680a3b1
3 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ Rails.application.routes.draw do
|
|||
post 'command/poll', to: 'polls#poll', constraints: EppConstraint.new(:poll)
|
||||
post 'command/keyrelay', to: 'keyrelays#keyrelay', constraints: EppConstraint.new(:keyrelay)
|
||||
|
||||
post 'command/:command', to: 'errors#not_found' # fallback route
|
||||
post 'command/:command', to: 'errors#not_found', constraints: EppConstraint.new(:not_found) # fallback route
|
||||
|
||||
get 'error/:command', to: 'errors#error'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue