app/views/layouts/searchjoy/application.html.erb in searchjoy-0.5.1 vs app/views/layouts/searchjoy/application.html.erb in searchjoy-1.0.0
- old
+ new
@@ -286,10 +286,14 @@
:root {
--litepickerDayIsTodayColor: #5cb85c !important;
}
</style>
- <%= javascript_include_tag "searchjoy/application" %>
+ <% if defined?(Propshaft::Railtie) %>
+ <%= javascript_include_tag "chartkick", "Chart.bundle", "searchjoy/litepicker", "searchjoy/application" %>
+ <% else %>
+ <%= javascript_include_tag "searchjoy/application" %>
+ <% end %>
</head>
<body>
<div class="container">
<div id="header" style="padding-bottom: 10px;">
<div class="grid">