Update HomeFS example to include controllers list
[invirt/packages/python-routefs.git] / routefs / examples / homefs.py
index 893977b..1666fdd 100755 (executable)
@@ -13,6 +13,7 @@ import routefs
 from routes import Mapper
 
 class HomeFS(routefs.RouteFS):
+    controllers = ['getList', 'getUser']
     def __init__(self, *args, **kwargs):
         super(HomeFS, self).__init__(*args, **kwargs)
         self.cache = {}