Commit 73e7133e authored by fred's avatar fred

add missing slash to episodes online url

parent 8cb20adb
......@@ -13,7 +13,7 @@ def online_url(object):
if isinstance(object, Emission):
return settings.WEBSITE_BASE_URL + 'emissions/' + object.slug + '/'
if isinstance(object, Episode):
return settings.WEBSITE_BASE_URL + 'emissions/' + object.emission.slug + '/' + object.slug
return settings.WEBSITE_BASE_URL + 'emissions/' + object.emission.slug + '/' + object.slug + '/'
if isinstance(object, SoundFile):
return settings.WEBSITE_BASE_URL + 'emissions/' + object.episode.emission.slug + '/' + object.episode.slug
return ''
......
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