Skip to content

Commit 932d4f9

Browse files
Merge pull request #6871 from christianbeeznest/fixes-updates149
Internal: Minor: fix chat ajax url from chat tool
2 parents 0f56b80 + b579454 commit 932d4f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CoreBundle/Resources/views/Chat/chat.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
confirmReset: '{{ "Are you sure you want to clear this chat?"|trans|e('js') }}'
115115
};
116116
117-
// ---------- helpers (comments in English) ----------
118-
const ajaxUrl = '{{ url('chat_ajax') ~ '?' ~ course_url_params }}';
117+
// ---------- helpers ----------
118+
const ajaxUrl = '{{ url('chamilo_core_chat_ajax') ~ '?' ~ course_url_params }}';
119119
const myUserId = {{ user.user_id }};
120120
const restrictToCoach = {{ restrict_to_coach ? 'true' : 'false' }};
121121
const parentNodeId = {{ chat_parent_node_id|default('0') }};

0 commit comments

Comments
 (0)