mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Add fallback route
This commit is contained in:
parent
8307cde4ab
commit
2b22ba18f0
3 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,8 @@ 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
|
||||
|
||||
get 'error/:command', to: 'errors#error'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue