how to handle errors like 404 / 500 in rails3

前端 未结 3 592
广开言路
广开言路 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:45

    Happens automatically if run in production mode - no need that you do that manually.

提交回复
热议问题