diff --git a/app/controllers/privacy_controller.rb b/app/controllers/privacy_controller.rb index ced84dbe5..126bb0128 100644 --- a/app/controllers/privacy_controller.rb +++ b/app/controllers/privacy_controller.rb @@ -3,6 +3,8 @@ class PrivacyController < ApplicationController layout 'public' + before_action :set_pack + before_action :set_instance_presenter before_action :set_expires_in @@ -12,6 +14,10 @@ class PrivacyController < ApplicationController private + def set_pack + use_pack 'public' + end + def set_instance_presenter @instance_presenter = InstancePresenter.new end