diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 74b6ec274..3dde34229 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -9,9 +9,7 @@
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
- <% if Current.user %>
-
- <% end %>
+ <%= tag.meta name: "current-user-id", content: Current.user.id if Current.user %>
<%= yield :head %>