added module support!

This commit is contained in:
Taylor Otwell
2011-08-03 22:10:07 -05:00
parent 927c522e67
commit f0f3dffc11
34 changed files with 363 additions and 203 deletions

View File

@@ -40,12 +40,12 @@ class Router {
*
* @param string $method
* @param string $uri
* @param array $routes
* @param Loader $loader
* @return Router
*/
public static function make($method, $uri, $routes = null)
public static function make($method, $uri, $loader)
{
return new static($method, $uri, $routes);
return new static($method, $uri, $loader);
}
/**