Skip to content

Commit

Permalink
Fix the stylesheet comment in the default generated layout.
Browse files Browse the repository at this point in the history
The comment indicates that it loads from `app/views/stylesheets`
instead of `app/assets/stylesheets`.
  • Loading branch information
JoeDupuis committed Oct 12, 2024
1 parent 57fe7e7 commit cf4436a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

<%- style_link_target = options[:skip_asset_pipeline] ? "\"application\"" : ":app" -%>
<%- if options[:skip_hotwire] || options[:skip_javascript] -%>
<%%# Includes all stylesheet files in app/views/stylesheets %>
<%%# Includes all stylesheet files in app/assets/stylesheets %>
<%%= stylesheet_link_tag <%= style_link_target %> %>
<%- else -%>
<%%# Includes all stylesheet files in app/views/stylesheets %>
<%%# Includes all stylesheet files in app/assets/stylesheets %>
<%%= stylesheet_link_tag <%= style_link_target %>, "data-turbo-track": "reload" %>
<%- end -%>
</head>
Expand Down

0 comments on commit cf4436a

Please sign in to comment.