summaryrefslogtreecommitdiff
path: root/app/views/errors
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/not_found.html.haml6
-rw-r--r--app/views/errors/server_error.html.haml6
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/errors/not_found.html.haml b/app/views/errors/not_found.html.haml
index 75cb889..c7fec22 100644
--- a/app/views/errors/not_found.html.haml
+++ b/app/views/errors/not_found.html.haml
@@ -1,7 +1,7 @@
.hero-unit
- %h1=t :not_found_title
- %h2=t :not_found_subtitle
- %p.lead=t :not_found_lead
+ %h1=t 'errors.title.page_not_found'
+ %h2=t 'errors.subtitle.page_not_found', default: ''
+ %p.lead=t 'errors.text.page_not_found', default: ''
%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
index 68baf20..a4133da 100644
--- a/app/views/errors/server_error.html.haml
+++ b/app/views/errors/server_error.html.haml
@@ -1,7 +1,7 @@
.hero-unit
- %h1=t :server_error_title
- %h2=t :server_error_subtitle
- %p.lead=t :server_error_lead
+ %h1=t 'errors.title.server_error'
+ %h2=t 'errors.subtitle.server_error', default: ''
+ %p.lead=t 'errors.text.server_error', default: ''
%a.btn.btn-primary.btn-large{href:'/'}
%i.icon-home.icon-white
=t :home