2017-04-10 12:27:03 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Admin
|
|
|
|
class BaseController < ApplicationController
|
2017-11-11 11:23:33 -08:00
|
|
|
include Authorization
|
2017-11-23 17:05:53 -08:00
|
|
|
include AccountableConcern
|
2017-11-11 11:23:33 -08:00
|
|
|
|
|
|
|
before_action :require_staff!
|
2017-04-10 12:27:03 -07:00
|
|
|
|
|
|
|
layout 'admin'
|
|
|
|
end
|
|
|
|
end
|