1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-19 03:11:21 +02:00

Flextype Site Plugin: fixes and refactoring #154

This commit is contained in:
Awilum
2019-06-16 22:42:28 +03:00
parent cadd5561ca
commit 0009e1d474
2 changed files with 12 additions and 6 deletions

View File

@@ -11,9 +11,5 @@ $loader = require_once $autoload;
// Include routes
include_once 'routes/web.php';
/**
* Add site controller to Flextype container
*/
$flextype['SiteController'] = function($container) {
return new SiteController($container);
};
// Include dependencies
include_once 'dependencies.php';

View File

@@ -0,0 +1,10 @@
<?php
namespace Flextype;
/**
* Add site controller to Flextype container
*/
$flextype['SiteController'] = function($container) {
return new SiteController($container);
};