diff --git a/config/routes.json b/config/routes.json index 0b45c0d..34a9970 100644 --- a/config/routes.json +++ b/config/routes.json @@ -11,11 +11,12 @@ "arguments": {} }, - "/ics/{diplome_id}.ics": { + "/ics/{diplome_id}{x}": { "methods": ["GET"], "controller": "ics:download", "arguments": { - "diplome_id": "T\\d+" + "diplome_id": "T\\d+", + "x": "\\.ics" } },