Skip to content

Commit

Permalink
fix: late-registration javascript tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Jan 30, 2025
1 parent bd1c44c commit e2cb8dc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
<% end %>

<%# This is the last script to run so it can register custom StimulusJS controllers from plugins. %>
<%= javascript_include_tag 'late-registration', "data-turbo-track": "reload", defer: true %>
<% if Avo::PACKED %>
<%= javascript_include_tag '/avo-assets/late-registration', "data-turbo-track": "reload", defer: true %>
<% else %>
<%= javascript_include_tag 'late-registration', "data-turbo-track": "reload", defer: true %>
<% end %>

0 comments on commit e2cb8dc

Please sign in to comment.