From b57945408a5a8dec2b76b814e7f46e6c2961840a Mon Sep 17 00:00:00 2001 From: Christian Beeznest Date: Tue, 7 Oct 2025 10:19:29 -0500 Subject: [PATCH] Internal: Minor: fix chat ajax url from chat tool --- src/CoreBundle/Resources/views/Chat/chat.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CoreBundle/Resources/views/Chat/chat.html.twig b/src/CoreBundle/Resources/views/Chat/chat.html.twig index 0d213483a60..866cd7cabc1 100644 --- a/src/CoreBundle/Resources/views/Chat/chat.html.twig +++ b/src/CoreBundle/Resources/views/Chat/chat.html.twig @@ -114,8 +114,8 @@ confirmReset: '{{ "Are you sure you want to clear this chat?"|trans|e('js') }}' }; - // ---------- helpers (comments in English) ---------- - const ajaxUrl = '{{ url('chat_ajax') ~ '?' ~ course_url_params }}'; + // ---------- helpers ---------- + const ajaxUrl = '{{ url('chamilo_core_chat_ajax') ~ '?' ~ course_url_params }}'; const myUserId = {{ user.user_id }}; const restrictToCoach = {{ restrict_to_coach ? 'true' : 'false' }}; const parentNodeId = {{ chat_parent_node_id|default('0') }};