1 2 3 4 5 6 7 8 9
# frozen_string_literal: true module Admin class BaseController < ApplicationController before_action :require_admin! layout 'admin' end end