working on routing architecture.

This commit is contained in:
Taylor Otwell
2011-07-31 21:51:55 -05:00
parent 344f49e1bf
commit 0af326b636
6 changed files with 59 additions and 22 deletions

View File

@@ -71,7 +71,7 @@ class URL {
*/
public static function to_route($name, $parameters = array(), $https = false)
{
if ( ! is_null($route = Route_Finder::find($name)))
if ( ! is_null($route = Routing\Finder::find($name)))
{
$uris = explode(', ', key($route));