mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
adding forward compatibility for comment page repathing
This commit is contained in:
@@ -89,6 +89,13 @@ def make_map(global_conf={}, app_conf={}):
|
||||
action = 'related')
|
||||
mc('/info/:article/details', controller='front',
|
||||
action = 'details')
|
||||
|
||||
mc('/related/:article/:title', controller='front',
|
||||
action = 'related', title=None)
|
||||
mc('/details/:article/:title', controller='front',
|
||||
action = 'details', title=None)
|
||||
mc('/comments/:article/:title/:comment', controller='front',
|
||||
action= 'comments', title=None, comment = None)
|
||||
|
||||
mc('/mail/optout', controller='front', action = 'optout')
|
||||
mc('/mail/optin', controller='front', action = 'optin')
|
||||
|
||||
Reference in New Issue
Block a user