From bfd2250d0b1cebeb0bc8f5975a4b296c3cd291d0 Mon Sep 17 00:00:00 2001 From: Caroline Salib Date: Sun, 24 Apr 2022 13:07:56 -0600 Subject: [PATCH] Final improvements for version 1 --- lib/simpleblog/rake.rb | 4 ++-- .../template/app/views/layouts/application.html.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/simpleblog/rake.rb b/lib/simpleblog/rake.rb index 516f3d6..7e90ef1 100644 --- a/lib/simpleblog/rake.rb +++ b/lib/simpleblog/rake.rb @@ -37,9 +37,9 @@ def copy_template_file(path) return if input == "n" - p "Overriden #{path}" + p "Overriden: #{path}" else - p "Created #{path}" + p "Created: #{path}" end copy_file("#{gem_path}/simpleblog/template/#{path}", path) diff --git a/lib/simpleblog/template/app/views/layouts/application.html.erb b/lib/simpleblog/template/app/views/layouts/application.html.erb index 1496a9b..3b9ca1d 100644 --- a/lib/simpleblog/template/app/views/layouts/application.html.erb +++ b/lib/simpleblog/template/app/views/layouts/application.html.erb @@ -8,7 +8,7 @@ <%= csp_meta_tag %> <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> - <%= javascript_importmap_tags %> + <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>