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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user