Skip to content

Commit

Permalink
Remove alchemy/admin/all.js from admin layout
Browse files Browse the repository at this point in the history
No more sprockets file that needs to be compile in the host app for you, sorry.
Use importmaps instead if you want to add JS to the Alchemy admin.
  • Loading branch information
tvdeyen committed Oct 8, 2024
1 parent 088eca9 commit 2c3ef70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/views/layouts/alchemy/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</script>
<%= render 'alchemy/admin/tinymce/setup' %>
<%= render 'alchemy/admin/partials/routes' %>
<%= javascript_include_tag('alchemy/admin/all', 'data-turbo-track' => true) %>
<%= javascript_importmap_tags("alchemy_admin", importmap: Alchemy.importmap) %>
<% Alchemy.admin_js_imports.each do |path| %>
<script type="module">
Expand Down

0 comments on commit 2c3ef70

Please sign in to comment.