Module: Spree::Core::ControllerHelpers::Turbo

Extended by:
ActiveSupport::Concern
Included in:
BaseController
Defined in:
lib/spree/core/controller_helpers/turbo.rb

Instance Method Summary collapse

Instance Method Details

#turbo_stream_request?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/spree/core/controller_helpers/turbo.rb', line 13

def turbo_stream_request?
  request.format.turbo_stream?
end