Sha256: ffb0ca4b47d5c5c4dc6c1b528c56ccb5fe03cfcabb40257687c78aa9f6106aed
Contents?: true
Size: 332 Bytes
Versions: 4
Compression:
Stored size: 332 Bytes
Contents
require_relative "inertia_rails" module InertiaRails module Controller extend ActiveSupport::Concern module ClassMethods def inertia_share(**args, &block) before_action do InertiaRails.share(args) if args InertiaRails.share_block(block) if block end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems