Skip to content

Commit 27439e9

Browse files
committed
Prevent excess CR
1 parent de89ed4 commit 27439e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515
<link rel="icon" href="/icon.svg" type="image/svg+xml">
1616
<link rel="apple-touch-icon" href="/icon.png">
1717

18-
<%%# Includes all stylesheet files in app/views/stylesheets %>
1918
<% style_link_target = options[:skip_asset_pipeline] ? "\"application\"" : ":app" %>
2019
<%- if options[:skip_hotwire] || options[:skip_javascript] -%>
20+
<%%# Includes all stylesheet files in app/views/stylesheets %>
2121
<%%= stylesheet_link_tag <%= style_link_target %> %>
2222
<%- else -%>
23+
<%%# Includes all stylesheet files in app/views/stylesheets %>
2324
<%%= stylesheet_link_tag <%= style_link_target %>, "data-turbo-track": "reload" %>
2425
<%- end -%>
2526
</head>

0 commit comments

Comments
 (0)