class Admin::AdminController < ApplicationController - Admin::AdminController has no descriptive comment
include Authentication, FlashI18n, FlashRender
skip_before_action :service_unavailable
skip_before_action :authenticate
before_action :set_appsignal_namespace
before_action :do_not_cache
layout 'admin'
def index
end
def admin_request?
true
end
private
def set_appsignal_namespace - Admin::AdminController#set_appsignal_namespace doesn't depend on instance state (maybe move it to another class?)
Appsignal.set_namespace("admin")
end
end