From a24467893e3033072864ce8bc766d59f1d5e7373 Mon Sep 17 00:00:00 2001 From: jean-francois labbe Date: Tue, 19 Oct 2021 09:24:13 +0200 Subject: [PATCH] re-add viewport meta tag to application layout It was removed by mistake Here is the discussion https://github.com/rails/rails/commit/164c2f625742da95407c44c70a381e2c80e4e118#r57483057 --- .../app/templates/app/views/layouts/application.html.erb.tt | 1 + 1 file changed, 1 insertion(+) 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 262a21f24f..cff6ba7a9f 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 @@ -2,6 +2,7 @@ <%= camelized %> + <%%= csrf_meta_tags %> <%%= csp_meta_tag %>