rabin 7 vuotta sitten
vanhempi
commit
6c16955195
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  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