Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Rails 的新手,遇到如下路由错误:
没有路线匹配 [GET] "/static_pages/home"
我知道这是因为我在 routes.rb 中遗漏了一些代码,我该如何获得这些路线?
谢谢
森的回答很到位。但是作为初学者,您会发现以下命令可以成为您的朋友:
rake routes
祝你好运