]> cat aescling's git repositories - mastodon.git/commitdiff
Fix static error page to use the correct pack
authorThibaut Girka <thib@sitedethib.com>
Sun, 17 Feb 2019 11:53:51 +0000 (12:53 +0100)
committerThibaut Girka <thib@sitedethib.com>
Sun, 17 Feb 2019 12:34:40 +0000 (13:34 +0100)
app/views/layouts/error.html.haml

index e9c474082be582336627ca4219c40196a8fe4280..f8315afb56e512786a26d98561cebba7ed444b83 100644 (file)
@@ -7,7 +7,7 @@
     %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
     = javascript_pack_tag "locales", integrity: true, crossorigin: 'anonymous'
     = render partial: 'layouts/theme', object: (@core || { pack: 'common' })
-    = render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' })
+    = render partial: 'layouts/theme', object: (@theme || { pack: 'error', flavour: 'glitch', common: { pack: 'common', flavour: 'glitch', skin: 'default' } })
   %body.error
     .dialog
       .dialog__illustration