about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-12 17:34:00 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-13 15:53:00 +0100
commitbbb9ff0e84e94a77cec069440195ba98b216d4f0 (patch)
tree345fae66b049dc5bf298f7e7b65ffcda15b702a0 /app/controllers
parent02062aab55cb6f8da527998a210775c2ad695eed (diff)
[Glitch] Redesign landing page
Port 65fffeac3f960f9c74d693525a73ac14b201bf2b to glitch-soc
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/public_timelines_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/public_timelines_controller.rb b/app/controllers/public_timelines_controller.rb
index 53d4472d8..c5fe789f4 100644
--- a/app/controllers/public_timelines_controller.rb
+++ b/app/controllers/public_timelines_controller.rb
@@ -1,6 +1,7 @@
 # frozen_string_literal: true
 
 class PublicTimelinesController < ApplicationController
+  before_action :set_pack
   layout 'public'
 
   before_action :check_enabled
@@ -31,4 +32,8 @@ class PublicTimelinesController < ApplicationController
   def set_instance_presenter
     @instance_presenter = InstancePresenter.new
   end
+
+  def set_pack
+    use_pack 'about'
+  end
 end