diff options
author | Jeroen Visser <jeroenvisser101@users.noreply.github.com> | 2016-04-08 14:37:40 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-04-08 14:37:40 +0200 |
commit | 82240d9b7c5eeb14302b4d1149afa50c5a498cf8 (patch) | |
tree | 5a47fe84c97ace09632041b7a44e94bf63a92a3f /railties/lib | |
parent | 303456be66d4b8abb88efeb5ce338530befea4ad (diff) | |
download | rails-82240d9b7c5eeb14302b4d1149afa50c5a498cf8.tar.gz rails-82240d9b7c5eeb14302b4d1149afa50c5a498cf8.tar.bz2 rails-82240d9b7c5eeb14302b4d1149afa50c5a498cf8.zip |
Use new hash syntax (#24464)
* Updated syntax
* Updated tests to match syntax
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt | 4 |
1 files changed, 2 insertions, 2 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 72258cc96b..d51f79bd49 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 @@ -8,8 +8,8 @@ <%%= stylesheet_link_tag 'application', media: 'all' %> <%- else -%> <%- if gemfile_entries.any? { |m| m.name == 'turbolinks' } -%> - <%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => 'reload' %> - <%%= javascript_include_tag 'application', 'data-turbolinks-track' => 'reload' %> + <%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%- else -%> <%%= stylesheet_link_tag 'application', media: 'all' %> <%%= javascript_include_tag 'application' %> |