Commit 524a19b3 authored by svilayphiou's avatar svilayphiou

a slash was missing in ethertoff.views.pad, the iframe was not loading anymore in Write mode

parent 6a3cda26
......@@ -156,7 +156,7 @@ def pad(request, pk=None, slug=None): # pad_write
pad = get_object_or_404(Pad, display_slug=slug)
else:
pad = get_object_or_404(Pad, pk=pk)
padLink = pad.server.url + 'p/' + pad.group.groupID + '$' + \
padLink = pad.server.url + '/p/' + pad.group.groupID + '$' + \
urllib.parse.quote(pad.name)
server = urlparse(pad.server.url)
author = PadAuthor.objects.get(user=request.user)
......@@ -455,4 +455,4 @@ def offsetprint(request):
return padOrFallbackPath(request, 'offset.css', 'ethertoff/static/css/offset.css', 'text/css')
def css_slide(request):
return padOrFallbackPath(request, 'slidy.css', 'ethertoff/static/css/slidy.css', 'text/css')
\ No newline at end of file
return padOrFallbackPath(request, 'slidy.css', 'ethertoff/static/css/slidy.css', 'text/css')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment