rabin 7 년 전
부모
커밋
6c16955195
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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