Skip to content

Commit

Permalink
Include FontAwesome icons in layout when using Sprockets
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Jun 26, 2024
1 parent 198ff8a commit b60e66f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/layouts/trestle/auth.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<%= favicon_link_tag Trestle.config.favicon if Trestle.config.favicon %>

<%= stylesheet_link_tag "trestle/admin", 'data-turbo-track': 'reload' %>
<%= stylesheet_link_tag "trestle/icons/font-awesome", 'data-turbo-track': 'reload' if defined?(Sprockets) %>

<%= stylesheet_link_tag "trestle/custom", 'data-turbo-track': 'reload' %>

<%= stylesheet_link_tag "trestle/auth", 'data-turbo-track': 'reload' %>
Expand Down

0 comments on commit b60e66f

Please sign in to comment.