diff --git a/lib/rails/generators/alchemy/install/files/application.html.erb b/lib/rails/generators/alchemy/install/files/application.html.erb index f010d75664..b08fd3c9ab 100644 --- a/lib/rails/generators/alchemy/install/files/application.html.erb +++ b/lib/rails/generators/alchemy/install/files/application.html.erb @@ -1,13 +1,16 @@ - - <%= render "alchemy/pages/meta_data" %> - <%= stylesheet_link_tag 'application', media: 'all' %> - <%= javascript_include_tag 'application' %> - <%= csrf_meta_tags %> - - - <%= yield %> - <%= render "alchemy/edit_mode" %> - + + <%= render "alchemy/pages/meta_data" %> + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + + + + <%= yield %> + <%= render "alchemy/edit_mode" %> +