diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml index faedd43d09..6ecf1e4637 100644 --- a/app/views/layouts/error.html.haml +++ b/app/views/layouts/error.html.haml @@ -6,8 +6,8 @@ %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ') %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/ = javascript_pack_tag 'common', crossorigin: 'anonymous' - = render partial: 'layouts/theme', object: (@core || { pack: 'common' }) - = render partial: 'layouts/theme', object: (@theme || { pack: 'error', flavour: 'glitch', common: { pack: 'common', flavour: 'glitch', skin: 'default' } }) + = render partial: 'layouts/theme', object: @core || { pack: 'common' } + = render partial: 'layouts/theme', object: @theme || { pack: 'error', flavour: 'glitch', common: { pack: 'common', flavour: 'glitch', skin: 'default' } } %body.error .dialog .dialog__illustration