Change commented -> comments in api docs

This commit is contained in:
Joe Alcorn
2013-02-06 21:46:47 +00:00
committed by Neil Williams
parent 8acc80504b
commit 68b7bec70a

View File

@@ -658,7 +658,7 @@ class UserController(ListingController):
time = VMenu('t', TimeMenu, remember = False))
@listing_api_doc(section=api_section.users, uri='/user/{username}/{where}',
uri_variants=['/user/{username}/' + where for where in [
'overview', 'submitted', 'commented',
'overview', 'submitted', 'comments',
'liked', 'disliked', 'hidden', 'saved']])
def GET_listing(self, where, vuser, sort, time, **env):
self.where = where