From 867a2795e09d5af7e9dfd07a311d1d683b8777ba Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Wed, 12 Apr 2023 11:10:01 +0200 Subject: [PATCH] Fix remaining _pack asset helpers [SCI-8291] --- app/views/client_api/settings/index.html.erb | 2 +- app/views/layouts/application_client_api.html.erb | 4 ++-- app/views/shared/_pdf_viewer.html.erb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/client_api/settings/index.html.erb b/app/views/client_api/settings/index.html.erb index e9e111617..d0c01df09 100644 --- a/app/views/client_api/settings/index.html.erb +++ b/app/views/client_api/settings/index.html.erb @@ -1 +1 @@ -<%= javascript_pack_tag 'index' %> +<%= javascript_include_tag 'index' %> diff --git a/app/views/layouts/application_client_api.html.erb b/app/views/layouts/application_client_api.html.erb index 9fdb6b2b4..4776610fa 100644 --- a/app/views/layouts/application_client_api.html.erb +++ b/app/views/layouts/application_client_api.html.erb @@ -5,7 +5,7 @@ <%= t('nav.title') %> <%= csrf_meta_tags %> - <%= stylesheet_pack_tag 'styles' %> + <%= stylesheet_link_tag 'styles' %> <%= favicon_link_tag "favicon.ico" %> <%= favicon_link_tag "favicon-16.png", type: "image/png", size: "16x16" %> <%= favicon_link_tag "favicon-32.png", type: "image/png", size: "32x32" %> @@ -17,7 +17,7 @@
<%= yield %> - +