Delyan Angelov
406be00436
Add a failing test for routing URLs containing Cyrillic letters.
6 years ago
Mike Cao
b781e63d08
Fix test.
7 years ago
Mike Cao
c3c6f68909
Removed another case of $route passing. Updated tests.
8 years ago
Mike Cao
6aea7394c4
Remove $route from parameter list, only pass when dispatching callback.
8 years ago
Mike Cao
7fd3594ac7
Added ability to perform case sensitive matching of URLs.
9 years ago
Yuri Tkachenko
83ffddc800
added phpunit to composer and tests updated
10 years ago
Mike Cao
7c50eb7cfb
Passing to a non-matching route should return a 404.
10 years ago
Mike Cao
64d384ddff
Splat should consider trailing slash in URLs.
11 years ago
Mike Cao
88f4c1fb71
Fixed issue with splats when used with named parameters.
11 years ago
Mike Cao
d84e51ba47
Updated route object passing functionality.
...
Before the route object would automatically be passed to all callbacks. Now you need to explicitly
ask for it by passing in true as the third parameter in Flight::route().
11 years ago
Mike Cao
7817255a61
Added ability to get splat from URL pattern.
11 years ago
Mike Cao
23fc99ec91
Updated all tests to use Engine class.
12 years ago
Mike Cao
84078158c3
Introduced new Engine class.
...
Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
12 years ago
Mike Cao
a04020d50e
Fix line feeds.
12 years ago
Mike Cao
28ae5e0aec
Added route passing functionality.
12 years ago
Mike Cao
ae32c228d1
Changed PHPUnit references. Added new tests for router.
12 years ago
Mike Cao
c3ee140930
Added unit tests
12 years ago