Sha256: c8cf72d047433bb43c108237fa9912b8f7bd38be26230b3d6cdc6d106873c530

Contents?: true

Size: 154 Bytes

Versions: 4

Compression:

Stored size: 154 Bytes

Contents

module SetCurrentAuth
  extend ActiveSupport::Concern

  included do
    before_action do
      Current.auth = Auth.new('web', session)
    end
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
kaze-0.7.0 stubs/hotwire/app/controllers/concerns/set_current_auth.rb
kaze-0.7.0 stubs/inertia-common/app/controllers/concerns/set_current_auth.rb
kaze-0.6.0 stubs/hotwire/app/controllers/concerns/set_current_auth.rb
kaze-0.6.0 stubs/inertia-common/app/controllers/concerns/set_current_auth.rb