Browse Source

Fix issue with glitch-soc's theming system

closed-social-glitch-2
Claire 2 years ago
parent
commit
41d52ee4b5
2 changed files with 5 additions and 3 deletions
  1. +5
    -0
      app/controllers/disputes/base_controller.rb
  2. +0
    -3
      app/views/admin/disputes/appeals/index.html.haml

+ 5
- 0
app/controllers/disputes/base_controller.rb 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

+ 0
- 3
app/views/admin/disputes/appeals/index.html.haml 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')

Loading…
Cancel
Save