Skip to content

Commit 5d202b7

Browse files
committed
Rambulance用の例外テンプレート(404/422/500)を追加
・開発環境での即時プレビューと、本番環境での動的レンダーを両立 ・ErrorsController経由の共通ビュー管理からのアプローチ変更 ・Gem『rambulance』の標準ディレクトリを活用し、テンプレート修正をシンプルに
1 parent 285999d commit 5d202b7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%= render template: "errors/show", locals: { status_code: 404 } %>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%= render template: "errors/show", locals: { status_code: 422 } %>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%= render template: "errors/show", locals: { status_code: 500 } %>

0 commit comments

Comments
 (0)