Sha256: 3c7727fe49502717cc2d64959c4589f49e91f5c074381374fb96549bd949f8e9

Contents?: true

Size: 160 Bytes

Versions: 15

Compression:

Stored size: 160 Bytes

Contents

module CensorBear
  module ApplicationHelper
    include Pagy::Frontend

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
censor_bear-0.1.18 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.17 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.15 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.14 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.13 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.12 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.11 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.10 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.9 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.8 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.7 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.6 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.5 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.4 app/helpers/censor_bear/application_helper.rb
censor_bear-0.1.3 app/helpers/censor_bear/application_helper.rb