Skip to content

Commit

Permalink
Fix documentation for GET_rules in subreddit
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashbot authored and bsimpson63 committed Dec 1, 2016
1 parent e5eb480 commit b900d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/controllers/front.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ def GET_sidebar(self):
return Reddit(content=usertext).render()

@require_oauth2_scope("read")
@api_doc(api_section.subreddits, uses_site=True)
@api_doc(api_section.subreddits, uri='/r/{subreddit}/about/rules')
def GET_rules(self):
"""Get the rules for the current subreddit"""
if not feature.is_enabled("subreddit_rules", subreddit=c.site.name):
Expand Down

0 comments on commit b900d9b

Please sign in to comment.