diff --git a/library/Zepto/Zepto.php b/library/Zepto/Zepto.php index 376569f..9e12ab3 100644 --- a/library/Zepto/Zepto.php +++ b/library/Zepto/Zepto.php @@ -83,25 +83,25 @@ function ($container) { $whoops = $this->_configure_error_handler(); $container['router'] = $container->share( - function ($container) { + function () { return new Router; } ); $container['plugin_loader'] = $container->share( - function ($container) { + function () { return new FileLoader\PluginLoader(); } ); $container['file_loader'] = $container->share( - function ($container) { + function () { return new FileLoader\MarkdownLoader(new \Michelf\MarkdownExtra); } ); $container['twig'] = $container->share( - function ($container) { + function () { return new \Twig_Environment( new \Twig_Loader_Filesystem(ROOT_DIR . 'templates') );