module BeetleReporter class ApplicationController < ActionController::Base include ActionView::RecordIdentifier include Pagy::Backend def current_user main_app.scope.request.env['warden']&.user end end end