Fix issue with glitch-soc's theming system

This commit is contained in:
Claire 2022-02-14 21:54:01 +01:00
parent 5ed35a0df4
commit 41d52ee4b5
2 changed files with 5 additions and 3 deletions

View file

@ -9,9 +9,14 @@ class Disputes::BaseController < ApplicationController
before_action :set_body_classes
before_action :authenticate_user!
before_action :set_pack
private
def set_pack
use_pack 'admin'
end
def set_body_classes
@body_classes = 'admin'
end

View file

@ -1,9 +1,6 @@
- content_for :page_title do
= t('admin.disputes.appeals.title')
- content_for :header_tags do
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
.filters
.filter-subset
%strong= t('admin.tags.review')