Skip to content

Commit

Permalink
Put back webpacked_plugins_js_for, this is required for webpack
Browse files Browse the repository at this point in the history
Only webpacked_plugins_css_for is deprecated and should have been
removed.

Fixes: 43352a8
  • Loading branch information
evgeni committed Feb 16, 2024
1 parent bff9a8e commit 2e065e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/discovered_hosts/welcome.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% content_for(:javascripts) do %>
<%= webpacked_plugins_js_for :'foreman_discovery' %>
<% end %>
<% content_for(:title, _("Discovered Hosts")) %>
<% content_for(:content) do %>
Expand Down
4 changes: 4 additions & 0 deletions app/views/discovery_rules/welcome.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% content_for(:javascripts) do %>
<%= webpacked_plugins_js_for :'foreman_discovery' %>
<% end %>
<% content_for(:title, _("Discovered Rules")) %>
<% content_for(:content) do %>
Expand Down

0 comments on commit 2e065e5

Please sign in to comment.