Sha256: 7ae56e39d41fd2b7a3b351446793af9d21c8774bc70e4ef95d75f93ee54b64f8

Contents?: true

Size: 163 Bytes

Versions: 12

Compression:

Stored size: 163 Bytes

Contents

module HandleInertiaRequests
  extend ActiveSupport::Concern

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kaze-0.17.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.16.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.15.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.14.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.13.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.12.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.11.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.10.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.9.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.8.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.7.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb
kaze-0.6.0 stubs/inertia-common/app/controllers/concerns/handle_inertia_requests.rb