app/views/layouts/searchjoy/application.html.erb in searchjoy-1.3.0 vs app/views/layouts/searchjoy/application.html.erb in searchjoy-1.3.1

- old
+ new

@@ -4,10 +4,10 @@ <title>Searchjoy</title> <meta charset="utf-8" /> <%= csp_meta_tag %> - <% if defined?(Propshaft::Railtie) %> + <% if defined?(Propshaft::Railtie) && Rails.application.assets.is_a?(Propshaft::Assembly) %> <%= stylesheet_link_tag "searchjoy/application", "searchjoy/litepicker" %> <%= javascript_include_tag "chartkick", "Chart.bundle", "searchjoy/application", "searchjoy/litepicker", nonce: true %> <% else %> <%= stylesheet_link_tag "searchjoy/application" %> <%= javascript_include_tag "searchjoy/application", nonce: true %>