Routing Error No route matches [GET] “/static_pages/home”, tutorial

后端 未结 7 1763
挽巷
挽巷 2021-01-06 04:10

When I run server browser show me something like this:

Routing Error

No route matches [GET] \"/static_pages/home\"

Try running rake routes for more informa         


        
7条回答
  •  春和景丽
    2021-01-06 04:28

    Remember to remove the "public/index.html" file.

    You can define all the routes properly, but if you leave this file, you won't be routing it properly.

提交回复
热议问题