tabletop-frog/ttfrog/webserver/routes.py
2024-01-31 22:39:54 -08:00

4 lines
164 B
Python

def routes(config):
config.add_route('index', '/')
config.add_route('sheet', '/sheet/{slug}/{name}', factory='ttfrog.webserver.controllers.CharacterSheet')