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 67bb2c87f..f459bab19 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] @@ -21,6 +22,10 @@ class AboutController < ApplicationController helper_method :new_user + def set_pack + use_pack 'common' + end + def set_instance_presenter @instance_presenter = InstancePresenter.new end |