Use native turbo reload mechanism instead of our own global_reload controller

This commit is contained in:
Jan Böhmer 2026-02-22 21:46:55 +01:00
parent b6d77af91b
commit e2b43ba01f
3 changed files with 6 additions and 31 deletions

View file

@ -26,6 +26,11 @@
<meta name="turbo-refresh-method" content="morph">
<meta name="turbo-refresh-scroll" content="preserve">
{# Allow pages to request a fully reload of everything #}
{% if global_reload_needed is defined and global_reload_needed %}
<meta name="turbo-visit-control" content="reload">
{% endif %}
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('icon/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" href="{{ asset('icon/favicon-32x32.png') }}" sizes="32x32">