Module: Phlex::Rails::Helpers::TurboStream

Extended by:
Phlex::Rails::HelperMacros
Defined in:
lib/phlex/rails/helpers/turbo_stream.rb

Overview

An adapter for the turbo-rails turbo_stream helper.

Instance Method Summary collapse

Methods included from Phlex::Rails::HelperMacros

register_output_helper, register_value_helper

Instance Method Details

#turbo_streamObject



8
9
10
11
12
13
# File 'lib/phlex/rails/helpers/turbo_stream.rb', line 8

def turbo_stream(...)
	Phlex::Rails::Buffered.new(
		helpers.turbo_stream(...),
		view: self
	)
end