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 :set_body_classes
before_action :authenticate_user! before_action :authenticate_user!
before_action :set_pack
private private
def set_pack
use_pack 'admin'
end
def set_body_classes def set_body_classes
@body_classes = 'admin' @body_classes = 'admin'
end end

View File

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