Sha256: 32c1b5bbcac20ca0e2d837d82dd9c31780cae2a25ac779f31b58e1d9cda9410f

Contents?: true

Size: 165 Bytes

Versions: 6

Compression:

Stored size: 165 Bytes

Contents

module BeetleReporter
  module ApplicationHelper
    include Pagy::Frontend

    def current_user
      main_app.scope.request.env['warden']&.user
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beetle_reporter-0.1.6 app/helpers/beetle_reporter/application_helper.rb
beetle_reporter-0.1.5 app/helpers/beetle_reporter/application_helper.rb
beetle_reporter-0.1.4 app/helpers/beetle_reporter/application_helper.rb
beetle_reporter-0.1.3 app/helpers/beetle_reporter/application_helper.rb
beetle_reporter-0.1.2 app/helpers/beetle_reporter/application_helper.rb
beetle_reporter-0.1.1 app/helpers/beetle_reporter/application_helper.rb