gitlab-org--gitlab-foss/app/controllers/admin/application_controller.rb
James Fargher beb66cfcba Check instance cluster feature at policy level
Try to simplify feature flag checks by using policies
2019-05-07 08:37:04 +12:00

10 lines
284 B
Ruby

# 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