Module: Turbo::IncludesHelper

Defined in:
app/helpers/turbo/includes_helper.rb

Instance Method Summary collapse

Instance Method Details

#turbo_include_tagsObject

DEPRECATED: Just use javascript_include_tag "turbo", type: "module" directly if using Turbo alone, or javascript_include_tag “turbo”, type: “module-shim” if together with Stimulus and importmaps.



4
5
6
# File 'app/helpers/turbo/includes_helper.rb', line 4

def turbo_include_tags
  javascript_include_tag("turbo", type: "module")
end