Sha256: 8b8e2535e9d9e97afdcab3a9190a4c52555a9b9943ce5328af919477a470cb29

Contents?: true

Size: 154 Bytes

Versions: 5

Compression:

Stored size: 154 Bytes

Contents

module HandleInertiaRequests
  extend ActiveSupport::Concern

  included do
    inertia_share do
      { auth: { user: Current.user } }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kaze-0.5.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.4.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.3.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.2.0 stubs/default/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.1.0 stubs/default/app/controllers/concerns/handle_inertia_requests.rb