Skip to content

Commit

Permalink
Added experimental support for Propshaft [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Mar 13, 2022
1 parent 1cef17a commit bb3f2d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 2.8.3 (unreleased)

- Added experimental support for Propshaft
- Fixed error with walsender queries on live queries page

## 2.8.2 (2021-12-15)
Expand Down
9 changes: 7 additions & 2 deletions app/views/layouts/pg_hero/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@

<meta charset="utf-8" />
<%= favicon_link_tag "pghero/favicon.png" %>
<%= stylesheet_link_tag "pghero/application" %>
<%= javascript_include_tag "pghero/application" %>
<% if defined?(Propshaft::Railtie) %>
<%= stylesheet_link_tag "pghero/nouislider", "pghero/arduino-light", "pghero/application" %>
<%= javascript_include_tag "pghero/jquery", "pghero/nouislider", "pghero/Chart.bundle", "pghero/chartkick", "pghero/highlight.pack", "pghero/application" %>
<% else %>
<%= stylesheet_link_tag "pghero/application" %>
<%= javascript_include_tag "pghero/application" %>
<% end %>
</head>
<body>
<div class="container">
Expand Down

0 comments on commit bb3f2d0

Please sign in to comment.