how to handle errors like 404 / 500 in rails3

前端 未结 3 594
广开言路
广开言路 2021-02-09 12:22

Hey, I hope you can help me.

I am trying to find a way to direct the user to the default error pages 404.html and 500.html in my public folder.

So when there is

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-09 12:44

    Have a look at this post to redirect all requests causing a Routing Error.

提交回复
热议问题