{ "methods": [ "GET", "POST" ], "routes": { "/": { "methods": ["GET"], "controller": "page:home", "arguments": {} }, "/ics/{diplome_id}{x}": { "methods": ["GET"], "controller": "ics:download", "arguments": { "diplome_id": "T\\d+", "x": "\\.ics" } }, "/location/{diplome_id}": { "methods": ["GET"], "controller": "ics:location", "arguments": { "diplome_id": "T\\d+" } }, "/view/{diplome_id}": { "methods": ["GET"], "controller": "ics:view", "arguments": { "diplome_id": "T\\d+" } }, "/lessons/{diplome_id}": { "methods": ["GET"], "controller": "ics:lessons", "arguments": { "diplome_id": "T\\d+" } }, "/xlessons/{diplome_id}": { "methods": ["POST"], "controller": "ics:correct_lessons", "arguments": { "diplome_id": "T\\d+" } }, "/xlocation/{diplome_id}": { "methods": ["POST"], "controller": "ics:correct_location", "arguments": { "diplome_id": "T\\d+" } }, "/{any}": { "methods": ["GET"], "controller": "redirect:homepage", "arguments": { "any": ".+" } } } }