summaryrefslogtreecommitdiff
path: root/app/controllers/admin/application_controller.rb
blob: b742b7e19cf4678d409c5727b8a08b5d1356e347 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

# Provides a base class for Admin controllers to subclass
#
# Automatically sets the layout and ensures an administrator is logged in
class Admin::ApplicationController < ApplicationController
  include EnforcesAdminAuthentication

  layout 'admin'
end