|
|
|
@ -71,7 +71,7 @@ Rails.application.routes.draw do
|
|
|
|
|
|
|
|
|
|
scope via: :all do |
|
|
|
|
match "/404", to: "errors#not_found" |
|
|
|
|
match "/429", to: "errors#too_many_requests" |
|
|
|
|
match "/429", to: "errors#too_many_requests", status: 429 |
|
|
|
|
match "/422", to: "errors#unprocessable_entity" |
|
|
|
|
match "/500", to: "errors#internal_server_error" |
|
|
|
|
end |
|
|
|
|