Add documentation and OAuth scope to GET_stylesheet.

This commit is contained in:
Logan Hanks
2013-01-22 10:51:56 -08:00
parent 681b6b003e
commit 2d2df8dfab

View File

@@ -385,7 +385,10 @@ class FrontController(RedditController, OAuth2ResourceController):
).render()
return res
@require_oauth2_scope("modconfig")
@api_doc(api_section.moderation)
def GET_stylesheet(self):
"""Fetches a subreddit's current stylesheet."""
if g.css_killswitch:
self.abort404()