debian-mirror-gitlab/app/controllers/admin/application_controller.rb

11 lines
284 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2014-09-02 18:07:02 +05:30
# Provides a base class for Admin controllers to subclass
#
# Automatically sets the layout and ensures an administrator is logged in
class Admin::ApplicationController < ApplicationController
2019-07-31 22:56:46 +05:30
include EnforcesAdminAuthentication
2014-09-02 18:07:02 +05:30
2019-07-31 22:56:46 +05:30
layout 'admin'
2014-09-02 18:07:02 +05:30
end