about summary refs log tree commit diff
path: root/app/views/errors
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-30 01:34:47 +0200
committerGitHub <noreply@github.com>2019-08-30 01:34:47 +0200
commit22ce4778eba300cdbd6a1eda94d49ce647ecdbaf (patch)
treed6f1315cb5e70ad58de75d483ffee17c60fd8e62 /app/views/errors
parent8ee4a2892c91323f3f213f132d5fb7cc4bb012c8 (diff)
Fix uncaught parameter missing exceptions and missing error templates (#11702)
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/400.html.haml5
-rw-r--r--app/views/errors/406.html.haml5
-rw-r--r--app/views/errors/503.html.haml5
3 files changed, 15 insertions, 0 deletions
diff --git a/app/views/errors/400.html.haml b/app/views/errors/400.html.haml
new file mode 100644
index 000000000..11fbdd40c
--- /dev/null
+++ b/app/views/errors/400.html.haml
@@ -0,0 +1,5 @@
+- content_for :page_title do
+  = t('errors.400')
+
+- content_for :content do
+  = t('errors.400')
diff --git a/app/views/errors/406.html.haml b/app/views/errors/406.html.haml
new file mode 100644
index 000000000..0ef815df3
--- /dev/null
+++ b/app/views/errors/406.html.haml
@@ -0,0 +1,5 @@
+- content_for :page_title do
+  = t('errors.406')
+
+- content_for :content do
+  = t('errors.406')
diff --git a/app/views/errors/503.html.haml b/app/views/errors/503.html.haml
new file mode 100644
index 000000000..b0c895aa5
--- /dev/null
+++ b/app/views/errors/503.html.haml
@@ -0,0 +1,5 @@
+- content_for :page_title do
+  = t('errors.503')
+
+- content_for :content do
+  = t('errors.503')