Skip to content

Commit

Permalink
Make go/.me likewise drop on a users edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
ssmith authored and wwsean08 committed Oct 30, 2017
1 parent a41104d commit 0f3872b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -845,6 +845,9 @@ def default(self, *rest, **kwargs):
action = kwargs.get("action", "list") action = kwargs.get("action", "list")


if keyword[0] == ".": # force list page instead of redirect if keyword[0] == ".": # force list page instead of redirect
if keyword == ".me":
username = getSSOUsername()
self.redirect("." + username)
forceListDisplay = True forceListDisplay = True
keyword = keyword[1:] keyword = keyword[1:]


Expand Down

0 comments on commit 0f3872b

Please sign in to comment.