misc: put full URLs in menu.json (#24303)

This commit is contained in:
Frédéric Péters 2018-06-07 13:49:55 +02:00
parent 3014c4a68c
commit 6de4c87557
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ class MenuJson(HomepageView):
menu_entries.append({
'label': unicode(entry['label']),
'slug': entry.get('slug', ''),
'url': unicode(entry['href']),
'url': request.build_absolute_uri(unicode(entry['href'])),
})
return menu_entries