diff --git a/index.php b/index.php --- a/index.php +++ b/index.php @@ -1,14 +1,14 @@ */ -namespace bfw; +use bfw\Dispatcher; require_once 'config/config.php'; $dispatcher = new Dispatcher(); -$view = $dispatcher->getView(); -$view->display(); \ No newline at end of file +return $dispatcher->delegate(); \ No newline at end of file