Match request URL params with rails routes via recognize_path

后端 未结 0 936
春和景丽
春和景丽 2020-11-27 21:24

I want to check if any incoming request actually exists in routes.rb as an entry via recognize_path like this

def path_exists?(path)
  Rails.appl         


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