You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
290 B

  1. # frozen_string_literal: true
  2. module Admin
  3. class BaseController < ApplicationController
  4. include Authorization
  5. include AccountableConcern
  6. layout 'admin'
  7. before_action :require_staff!
  8. before_action :set_pack
  9. def set_pack
  10. use_pack 'admin'
  11. end
  12. end
  13. end