Updated

app/controllers/admin / admin_controller.rb

A
24 lines of codes
3 methods
0.3 complexity/method
12 churn
1.0 complexity
0 duplications
class Admin::AdminController < ApplicationController
  1. 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
  1. Admin::AdminController#set_appsignal_namespace doesn't depend on instance state (maybe move it to another class?)
Appsignal.set_namespace("admin") end end