diff options
Diffstat (limited to 'app/controllers/concerns/web_app_controller_concern.rb')
-rw-r--r-- | app/controllers/concerns/web_app_controller_concern.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/concerns/web_app_controller_concern.rb b/app/controllers/concerns/web_app_controller_concern.rb index c671ce785..b6050c913 100644 --- a/app/controllers/concerns/web_app_controller_concern.rb +++ b/app/controllers/concerns/web_app_controller_concern.rb @@ -4,6 +4,7 @@ module WebAppControllerConcern extend ActiveSupport::Concern included do + before_action :set_pack before_action :redirect_unauthenticated_to_permalinks! before_action :set_app_body_class before_action :set_referrer_policy_header @@ -24,4 +25,8 @@ module WebAppControllerConcern redirect_to(redirect_path) if redirect_path.present? end + + def set_pack + use_pack 'home' + end end |