projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged in comments
[zzz-floof.git]
/
floof
/
config
/
routing.py
diff --git
a/floof/config/routing.py
b/floof/config/routing.py
index
5f729e6
..
645d138
100644
(file)
--- a/
floof/config/routing.py
+++ b/
floof/config/routing.py
@@
-51,6
+51,9
@@
def make_map():
sub.connect('/*owner_url/comments', action='thread')
sub.connect('/*owner_url/comments/reply', action='reply')
sub.connect('/*owner_url/comments/reply_done', action='reply_done', **require_POST)
sub.connect('/*owner_url/comments', action='thread')
sub.connect('/*owner_url/comments/reply', action='reply')
sub.connect('/*owner_url/comments/reply_done', action='reply_done', **require_POST)
+ sub.connect('/*owner_url/comments/{id}', action='thread')
+ sub.connect('/*owner_url/comments/{id}/reply', action='reply')
+ sub.connect('/*owner_url/comments/{id}/reply_done', action='reply_done', **require_POST)
with map.submapper(controller="art") as sub:
sub.connect('new_art', '/art/new', action="new")
with map.submapper(controller="art") as sub:
sub.connect('new_art', '/art/new', action="new")