X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/482924ec2b85600ccb905a3ee53b1ca6df419ab6..ce1c8b25f961df0810d735d2337a790e0563f4af:/floof/config/routing.py diff --git a/floof/config/routing.py b/floof/config/routing.py index 645d138..02e597f 100644 --- a/floof/config/routing.py +++ b/floof/config/routing.py @@ -55,12 +55,17 @@ def make_map(): sub.connect('/*owner_url/comments/{id}/reply', action='reply') sub.connect('/*owner_url/comments/{id}/reply_done', action='reply_done', **require_POST) + # Art with map.submapper(controller="art") as sub: sub.connect('new_art', '/art/new', action="new") sub.connect('create_art', '/art/create', action="create") sub.connect('rate_art', '/art/{id}/rate', action="rate") sub.connect('show_art', '/art/{id}', action="show") + # Some art pages pertain to a specific user, but still belong in the art + # controller + map.connect('/users/{name}/watchstream', controller='art', action='watchstream') + with map.submapper(controller='tag') as sub: sub.connect('delete_tag', '/art/{art_id}/tag/{id}') sub.connect('create_tag', '/art/{art_id}/tag')