diff --git a/library/Zepto/Router.php b/library/Zepto/Router.php index da2ee9d..ef6dfa5 100644 --- a/library/Zepto/Router.php +++ b/library/Zepto/Router.php @@ -154,21 +154,6 @@ public function __construct($url = null) $this->url_clean = $this->__get_clean_url($this->url_dirty); } - /** - * If the router cannot match the current URL to any of the given routes, - * the function passed to this method will be executed instead. This would - * be useful for displaying a 404 page for example. - * - * @param Callable $callback - * @return self - */ - public function default_route($callback) - { - $this->default_route = $callback; - - return $this; - } - /** * Tries to match one of the URL routes to the current URL, otherwise * execute the default function and return false.