]> cat aescling's git repositories - mastodon.git/commitdiff
Fix issue with glitch-soc's theming system
authorClaire <claire.github-309c@sitedethib.com>
Mon, 14 Feb 2022 20:54:01 +0000 (21:54 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Thu, 17 Feb 2022 09:59:01 +0000 (10:59 +0100)
app/controllers/disputes/base_controller.rb
app/views/admin/disputes/appeals/index.html.haml

index 865146b5cc44e7c4190d60b760b1e584c11a9e8d..7830c55247bc2a3eb2b77517ac57395a1e846997 100644 (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
index dd6a6f403f10e7931b0a7aac57d6cb8cd60ab283..42e9c4b1d775d2fd485dcc534dc99850dac8b1aa 100644 (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')