module CensorBear module ApplicationHelper include Pagy::Frontend def current_user main_app.scope.request.env['warden'].user end end end