]> cat aescling's git repositories - mastodon.git/commitdiff
Fix dependency of error page generation on database (#5280)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 9 Oct 2017 08:05:10 +0000 (10:05 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Oct 2017 08:05:10 +0000 (10:05 +0200)
app/views/layouts/error.html.haml

index 7d014dff4fc48f209e9f8ddfbdad32b074e29b1e..37359b89b95dc1eea11f04d69863ada25d676c78 100644 (file)
@@ -9,6 +9,6 @@
     = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
   %body.error
     .dialog
-      %img{ alt: title, src: '/oops.gif' }/
+      %img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
       %div
         %h1= yield :content