Why does Rails 6 (and likely others) treat / path differently with regard to RoutingErrors?

前端 未结 0 1647
鱼传尺愫
鱼传尺愫 2020-12-16 02:18

Say you have the following in your routes.rb (in rails 6.0.2.1):

root to: "healthchecks#index"
...
match \'*not_found\', to: \'exceptions#routing_er         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题