Handle errors using Gaffe
This commit is contained in:
parent
ae4979a3f0
commit
9efa9d5d43
12 changed files with 71 additions and 17 deletions
5
app/views/errors/internal_server_error.html.haml
Normal file
5
app/views/errors/internal_server_error.html.haml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
- page = capture do
|
||||
%p= t '.text1'
|
||||
%p= t '.text2'
|
||||
|
||||
= render 'error', title: t('.title'), type: :error, page: page
|
||||
Loading…
Add table
Add a link
Reference in a new issue