mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-16 04:51:01 +00:00
Fixed missing return statement in embed frontend renderer
This commit is contained in:
parent
3546a1e48a
commit
399f271ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ def embed_to_frontend_html(url):
|
|||
ratio = "0"
|
||||
|
||||
# Render template
|
||||
render_to_string('wagtailembeds/embed_frontend.html', {
|
||||
return render_to_string('wagtailembeds/embed_frontend.html', {
|
||||
'embed': embed,
|
||||
'ratio': ratio,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue