Module: Phlex::Rails::Helpers::ActionCableMetaTag

Extended by:
Phlex::Rails::HelperMacros
Included in:
Layout
Defined in:
lib/phlex/rails/helpers/action_cable_meta_tag.rb

Instance Method Summary collapse

Methods included from Phlex::Rails::HelperMacros

register_output_helper, register_value_helper

Instance Method Details

#action_cable_meta_tagnil

Outputs an "action-cable-url" meta tag with the value of the URL specified in your configuration. Ensure this is above your JavaScript tag:



10
# File 'lib/phlex/rails/helpers/action_cable_meta_tag.rb', line 10

register_output_helper :action_cable_meta_tag