base_controller.rb (213B)
- # frozen_string_literal: true
- module Admin
- class BaseController < ApplicationController
- include Authorization
- include AccountableConcern
- before_action :require_staff!
- layout 'admin'
- end
- end
git clone https://hacktivis.me/git/mastofe.git
base_controller.rb (213B)
- # frozen_string_literal: true
- module Admin
- class BaseController < ApplicationController
- include Authorization
- include AccountableConcern
- before_action :require_staff!
- layout 'admin'
- end
- end