0

Rails 4 アプリ用のカスタム 404 ページを作成したいのですが、有効なソリューションが見つかりません... 多くの人が Rails 3 用のソリューションを書いていますが、Rails 4 では機能しません。助けてください。

アクション「page_404」でコントローラー「ErrorPages」を作成しました。

4

1 に答える 1

-1

Templates for the error pages are in the public directory. To customize the page for 404, you can simply edit the file called 404.html.

于 2013-09-02T02:12:56.760 に答える