ADmad
|
80381bcfdf
Use Request::env() instead of overriding globals.
|
11 years ago |
ADmad
|
ae76e5e4a3
Remove redudant usage forms for Router::url().
|
11 years ago |
ADmad
|
c75c7a7c57
Refactor code to allow passing url fragmenent for named routes.
|
11 years ago |
ADmad
|
f16fe0f2d5
Allow specifying route name when using url array.
|
11 years ago |
ADmad
|
0ae87e3d3f
Add tests for url generated with named route.
|
11 years ago |
Thomas von Hassel
|
b8d4eda592
Fixes argument order
|
11 years ago |
mark_story
|
96cb76b90d
Fix incorrect handling of inflections in InflectedRoute
|
11 years ago |
mark_story
|
80066a2608
Rename [method] to _method.
|
11 years ago |
mark_story
|
4b499f6b9a
Remove Router::resourceMap() and update internals of mapResources()
|
11 years ago |
mark_story
|
20a8f2d991
Fix incorrect path indexing for greedy routes.
|
11 years ago |
mark_story
|
f981c7c8ec
Add test for added cases in RouteCollection::_getNames()
|
11 years ago |
mark_story
|
12c5f5bb72
Fix failing tests around prefixes.
|
11 years ago |
mark_story
|
0dcfaff52e
Stop inflecting prefix.
|
11 years ago |
mark_story
|
78a4a81834
First pass at splitting up the Router internals.
|
11 years ago |
mark_story
|
566e768cae
Remove default routes.
|
11 years ago |
mark_story
|
a9ba33dcd5
Throw exceptions when routes result in an error.
|
11 years ago |
mark_story
|
ac16ff1bbc
Add a new exception class for routing errors.
|
11 years ago |
ADmad
|
56022b6459
Rename option "ssl" to "_ssl" for consitency with other options.
|
11 years ago |
mark_story
|
74c7273d95
Fix error in Router::redirect().
|
11 years ago |
mark_story
|
e05a9672f4
Router::parseExtensions() only works at the top of the routes.
|
11 years ago |
mark_story
|
42fb1a442e
Remove Router::defaultRouteClass()
|
11 years ago |
mark_story
|
b34d43c85e
Start fixing up the few failing router tests.
|
11 years ago |
mark_story
|
f03b40e4db
Start integrating Router + new route collections.
|
11 years ago |
mark_story
|
bcc20c4cac
Add Router::prefix() and Router::plugin()
|
11 years ago |
mark_story
|
f0af8f8fe0
Add basic tests for Router::scope().
|
11 years ago |
mark_story
|
ff1ebb9768
lowercase route names.
|
11 years ago |
Jose Lorenzo Rodriguez
|
17ab3262d6
Fixing failing tests
|
11 years ago |
Jose Lorenzo Rodriguez
|
5a0a7966e0
Removing inflections out from the router, this also means that default
|
11 years ago |
Jose Lorenzo Rodriguez
|
f2b3e95c7a
Removing some of the hadrcoded calls to Inflector::underscore() used in
|
11 years ago |
mark_story
|
a33ee0c499
Move CacheDispatcher tests into their own file.
|
12 years ago |