diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-07-23 10:30:24 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-07-23 10:51:12 +0200 |
commit | 8a89a2b0f40c427fc48e449aa166f5f60d5a9575 (patch) | |
tree | 5d98c44371d54a8223a2bfb146dc65a8e14d4f62 /app/controllers/settings/base_controller.rb | |
parent | 444796b69b0cd2c7b4b95d3b3119e0b7a503f682 (diff) |
Revert some refactoring in order to make codebase closer to upstream
Diffstat (limited to 'app/controllers/settings/base_controller.rb')
-rw-r--r-- | app/controllers/settings/base_controller.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/settings/base_controller.rb b/app/controllers/settings/base_controller.rb index 34ef16568..8c394a6d3 100644 --- a/app/controllers/settings/base_controller.rb +++ b/app/controllers/settings/base_controller.rb @@ -1,12 +1,11 @@ # frozen_string_literal: true class Settings::BaseController < ApplicationController - layout 'admin' - - before_action :authenticate_user! before_action :set_pack before_action :set_body_classes + private + def set_pack use_pack 'settings' end |