removed provides functionality. need to explore doing this in a way that is more friendly to http, such as using the accept header.

This commit is contained in:
Taylor Otwell
2011-10-29 21:02:01 -05:00
parent a2aebdb03f
commit 866f5d8fc3
4 changed files with 33 additions and 82 deletions

View File

@@ -91,13 +91,13 @@ Input::$input = $input;
*/
Routing\Filter::register(require APP_PATH.'filters'.EXT);
list($uri, $method, $format) = array(Request::uri()->get(), Request::method(), Request::format());
list($uri, $method) = array(Request::uri()->get(), Request::method());
$route = IoC::container()->core('routing.router')->route($method, $uri, $format);
Request::$route = IoC::container()->core('routing.router')->route($method, $uri);
if ( ! is_null($route))
if ( ! is_null(Request::$route))
{
$response = $route->call();
$response = Request::$route->call();
}
else
{