Comments: Move 'template_youtube' function to own file + module

This commit is contained in:
Samantaz Fox
2023-05-06 20:07:13 +02:00
parent 634e913da9
commit e10f6b6626
5 changed files with 163 additions and 160 deletions

View File

@@ -250,7 +250,7 @@ def fetch_channel_community(ucid, continuation, locale, format, thin_mode)
if format == "html"
response = JSON.parse(response)
content_html = template_youtube_comments(response, locale, thin_mode)
content_html = IV::Frontend::Comments.template_youtube(response, locale, thin_mode)
response = JSON.build do |json|
json.object do