diff options
author | azul <azul@leap.se> | 2014-05-22 14:48:40 +0200 |
---|---|---|
committer | azul <azul@leap.se> | 2014-05-22 14:48:40 +0200 |
commit | 0c995deeb434237aa71e3a45f9f5a51f7c79116a (patch) | |
tree | d2988d37c9d3bdb02d9e0b36eb1bc61ca0782f1f /app/views | |
parent | b9174fdc9d9bd403d9a16650bafc4715e3dbf2d4 (diff) | |
parent | b298cea527f74f682d24defee360e0f45f47d125 (diff) |
Merge pull request #162 from azul/feature/3295-custom-error-pages
Feature/3295 custom error pages
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/errors/not_found.html.haml | 7 | ||||
-rw-r--r-- | app/views/errors/server_error.html.haml | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app/views/errors/not_found.html.haml b/app/views/errors/not_found.html.haml new file mode 100644 index 0000000..75cb889 --- /dev/null +++ b/app/views/errors/not_found.html.haml @@ -0,0 +1,7 @@ +.hero-unit + %h1=t :not_found_title + %h2=t :not_found_subtitle + %p.lead=t :not_found_lead + %a.btn.btn-primary.btn-large{href:'/'} + %i.icon-home.icon-white + =t :home diff --git a/app/views/errors/server_error.html.haml b/app/views/errors/server_error.html.haml new file mode 100644 index 0000000..68baf20 --- /dev/null +++ b/app/views/errors/server_error.html.haml @@ -0,0 +1,7 @@ +.hero-unit + %h1=t :server_error_title + %h2=t :server_error_subtitle + %p.lead=t :server_error_lead + %a.btn.btn-primary.btn-large{href:'/'} + %i.icon-home.icon-white + =t :home |