projects
/
invirt/packages/python-routefs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddcc85d
)
Update HomeFS example to include controllers list
author
Evan Broder
<broder@mit.edu>
Fri, 19 Dec 2008 03:14:21 +0000
(21:14 -0600)
committer
Evan Broder
<broder@mit.edu>
Fri, 19 Dec 2008 03:14:21 +0000
(21:14 -0600)
routefs/examples/homefs.py
patch
|
blob
|
history
diff --git
a/routefs/examples/homefs.py
b/routefs/examples/homefs.py
index
893977b
..
1666fdd
100755
(executable)
--- a/
routefs/examples/homefs.py
+++ b/
routefs/examples/homefs.py
@@
-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 = {}