require 'audit_log' class AdminController < ApplicationController include AuditLog before_action :auto_log end