rabin 7 years ago
parent
commit
6c16955195
1 changed files with 4 additions and 1 deletions
  1. 4 1
      web.py

+ 4 - 1
web.py

@@ -200,7 +200,10 @@ class Base(tornado.web.RequestHandler):
 class Web(object):
 	@classmethod
 	def auth(self, method):
-		tornado.web.authenticated(method)
+		return tornado.web.authenticated(method)
+
+	@classmethod
+	def setting(self, method):
 		return self.async(method)
 		
 	@staticmethod