app/views/katello/layouts/react.html.erb in katello-3.10.2 vs app/views/katello/layouts/react.html.erb in katello-3.11.0.rc1
- old
+ new
@@ -1,16 +1,16 @@
<% content_for(:stylesheets) do %>
- <%= stylesheet_link_tag *webpack_asset_paths('katello', :extension => 'css'), "data-turbolinks-track" => true %>
+ <%= webpacked_plugins_css_for :katello %>
<% end %>
<% content_for(:javascripts) do %>
- <%= javascript_include_tag *webpack_asset_paths('katello', :extension => 'js') %>
+ <%= webpacked_plugins_js_for :katello %>
<% end %>
<% content_for(:content) do %>
<%= notifications %>
<div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
<div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
<div id="reactRoot"></div>
- <%= mount_react_component('katello', '#reactRoot') %>
<% end %>
<%= render file: "layouts/base" %>
+<%= mount_react_component('katello', '#reactRoot') %>