Sha256: 4771ba338e97f7a2449a5fa1b79035473d7d2891ce18f919f7dc85536055615b

Contents?: true

Size: 234 Bytes

Versions: 10

Compression:

Stored size: 234 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
beetle_reporter-0.1.10 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.9 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.8 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.7 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.6 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.5 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.4 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.3 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.2 app/controllers/beetle_reporter/application_controller.rb
beetle_reporter-0.1.1 app/controllers/beetle_reporter/application_controller.rb