Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/ubyssey/dispatch into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
keeganland committed Sep 21, 2020
2 parents 235b28e + a0efab1 commit fee0ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dispatch/modules/content/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def get_published_articles(self):

def get_absolute_url(self):
"""Returns the subsection URL."""
return "%s%s/" % (settings.BASE_URL, self.slug)
return "%ssubsection/%s" % (settings.BASE_URL, self.slug)

class Page(Publishable):
parent = ForeignKey('Page', on_delete=SET_NULL, related_name='page_parent', blank=True, null=True)
Expand Down

0 comments on commit fee0ffa

Please sign in to comment.