Finalized theme loading and stuff
This commit is contained in:
12
app/controllers/settings/base_controller.rb
Normal file
12
app/controllers/settings/base_controller.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Settings::BaseController < ApplicationController
|
||||
layout 'admin'
|
||||
|
||||
before_action :authenticate_user!
|
||||
before_action :set_pack
|
||||
|
||||
def set_pack
|
||||
use_pack 'settings'
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user