diff options
Diffstat (limited to 'app/controllers/about_controller.rb')
-rw-r--r-- | app/controllers/about_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index 52a51fd62..5850bd56d 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true class AboutController < ApplicationController + before_action :set_pack layout 'public' before_action :set_instance_presenter, only: [:show, :more, :terms] @@ -24,6 +25,10 @@ class AboutController < ApplicationController helper_method :new_user + def set_pack + use_pack 'common' + end + def set_instance_presenter @instance_presenter = InstancePresenter.new end |