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