Sha256: 5978b58fcd388ba0088db5e946e5389fb9f06a422d1958fa9f0b61bdf719187f

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

module Plutonium
  module Helpers
    module TurboHelper
      def current_turbo_frame
        request.headers["Turbo-Frame"]
      end

      def modal_frame_tag(&block)
        turbo_frame_tag "modal", &block
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutonium-0.6.2 lib/plutonium/helpers/turbo_helper.rb
plutonium-0.6.1 lib/plutonium/helpers/turbo_helper.rb
plutonium-0.6.0 lib/plutonium/helpers/turbo_helper.rb
plutonium-0.5.0 lib/plutonium/helpers/turbo_helper.rb