about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-29 03:03:03 +0200
committerGitHub <noreply@github.com>2017-09-29 03:03:03 +0200
commit5b45c1646aa324d2eb4a3ecb8c12ed4df3cdf129 (patch)
treeaf000ab02a5f19c794cda3aa8c9c46105f25d9a0 /app
parent887cd94e963f49523af80d845cfe0ea900f7dadf (diff)
Remove dependency on db during assets:precompile (#5138)
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/error.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 31f322096..7d014dff4 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -3,7 +3,7 @@
   %head
     %meta{ content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
     %meta{ charset: 'utf-8' }/
-    %title= safe_join([yield(:page_title), title], ' - ')
+    %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
     %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
     = stylesheet_pack_tag 'common', media: 'all'
     = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'