aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2019-05-26 23:02:24 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2019-05-26 23:02:37 +0200
commita1c269fbdf1f10aa038c8b58e6ba48e9f5f3f864 (patch)
treeaa64f9d20524d26f87db8cdf847f97475572a393
parent4a86464cbae007f9bf37189bd265eac8415570c5 (diff)
downloadrails-a1c269fbdf1f10aa038c8b58e6ba48e9f5f3f864.tar.gz
rails-a1c269fbdf1f10aa038c8b58e6ba48e9f5f3f864.tar.bz2
rails-a1c269fbdf1f10aa038c8b58e6ba48e9f5f3f864.zip
Skip needless spaces from generated app layout.
-rw-r--r--railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt b/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
index 9a7267c783..b8c1f21c0b 100644
--- a/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
@@ -6,7 +6,7 @@
<%%= csp_meta_tag %>
<%- if options[:skip_javascript] -%>
- <%%= stylesheet_link_tag 'application', media: 'all' %>
+ <%%= stylesheet_link_tag 'application', media: 'all' %>
<%- else -%>
<%- unless options[:skip_turbolinks] -%>
<%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>