mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 15:34:41 +02:00
Story#128054415 - default route for epp if none matches
This commit is contained in:
parent
fdb9b5501f
commit
5cfb001b6a
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ Rails.application.routes.draw do
|
|||
post 'command/:command', to: 'errors#not_found', constraints: EppConstraint.new(:not_found) # fallback route
|
||||
|
||||
get 'error/:command', to: 'errors#error'
|
||||
match "*command", to: 'errors#error', via: [:post, :get, :patch, :put, :delete]
|
||||
end
|
||||
|
||||
mount Repp::API => '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue