Validate not_found too against schema #2752

This commit is contained in:
Martin Lensment 2015-07-24 16:38:14 +03:00
parent 626fa6d25d
commit c38680a3b1
3 changed files with 3 additions and 3 deletions

View file

@ -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