Added non english route example

This commit is contained in:
SteamPixel 2021-01-14 14:54:43 +01:00
parent 6168bc9ab5
commit 542d4330e8

View File

@ -120,6 +120,11 @@ Route::add('/foo/bar/foo/bar', function() {
echo 'This is the second match (This route should only work in multi match mode) <br>'; echo 'This is the second match (This route should only work in multi match mode) <br>';
}); });
// Route with non english letters
Route::add('/äöü', function() {
echo 'Non english letters should work too <br>';
});
// Trailing slash example // Trailing slash example
Route::add('/aTrailingSlashDoesNotMatter', function() { Route::add('/aTrailingSlashDoesNotMatter', function() {
navi(); navi();