about summary refs log tree commit diff
path: root/app/controllers/relationships_controller.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-16 14:26:14 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-16 14:26:14 +0100
commit8e5d72dba89e8d2c4ecb8aa13827aabbcd92b633 (patch)
treed0b1774fd2a7cdfe2850c6a9bac409ccb314d8e0 /app/controllers/relationships_controller.rb
parent3960a9d60554a7ee6b06ad834dae27f93978f22e (diff)
Fix relationships controller/view wrt. glitch-soc theming engine
Diffstat (limited to 'app/controllers/relationships_controller.rb')
-rw-r--r--app/controllers/relationships_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/relationships_controller.rb b/app/controllers/relationships_controller.rb
index e6dd65e44..af91cb658 100644
--- a/app/controllers/relationships_controller.rb
+++ b/app/controllers/relationships_controller.rb
@@ -5,6 +5,7 @@ class RelationshipsController < ApplicationController
 
   before_action :authenticate_user!
   before_action :set_accounts, only: :show
+  before_action :set_pack
   before_action :set_body_classes
 
   helper_method :following_relationship?, :followed_by_relationship?, :mutual_relationship?
@@ -95,4 +96,8 @@ class RelationshipsController < ApplicationController
   def set_body_classes
     @body_classes = 'admin'
   end
+
+  def set_pack
+    use_pack 'admin'
+  end
 end