Skip to content

Commit 20f5828

Browse files
authored
Merge pull request rails#53276 from JoeDupuis/fix-assets-comments-in-generated-layout
Fix the stylesheet instruction comment in the default generated layout.
2 parents 184c962 + cf4436a commit 20f5828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919

2020
<%- style_link_target = options[:skip_asset_pipeline] ? "\"application\"" : ":app" -%>
2121
<%- if options[:skip_hotwire] || options[:skip_javascript] -%>
22-
<%%# Includes all stylesheet files in app/views/stylesheets %>
22+
<%%# Includes all stylesheet files in app/assets/stylesheets %>
2323
<%%= stylesheet_link_tag <%= style_link_target %> %>
2424
<%- else -%>
25-
<%%# Includes all stylesheet files in app/views/stylesheets %>
25+
<%%# Includes all stylesheet files in app/assets/stylesheets %>
2626
<%%= stylesheet_link_tag <%= style_link_target %>, "data-turbo-track": "reload" %>
2727
<%- end -%>
2828
</head>

0 commit comments

Comments
 (0)