module Admin class BaseController < ActionController::Base layout "admin" protect_from_forgery with: :null_session end end