Commit 88f20ede authored by Claude Paroz's avatar Claude Paroz

Don't use hardcoded url for fake teams

parent ce4e3f5c
......@@ -217,9 +217,9 @@ class FakeTeam(object):
self.language = language
self.description = _("No team for locale %s") % self.language.locale
def get_absolute_url(self):
# FIXME: try to avoid using a hard-coded link
return "/teams/%s" % self.language.locale
return ('', [self.language.locale])
def can_edit(self, user):
return False
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