app/controllers: Fixing namespace.
This commit is contained in:
parent
aa37d10024
commit
f55c8adb20
8 changed files with 40 additions and 13 deletions
|
|
@ -61,6 +61,8 @@ $di->setShared('dispatcher', function() use ($di, $config) {
|
|||
$dispatcher = new \Phalcon\Mvc\Dispatcher();
|
||||
$dispatcher->setEventsManager($eventsManager);
|
||||
|
||||
$dispatcher->setDefaultNamespace('App\Controller');
|
||||
|
||||
return $dispatcher;
|
||||
});
|
||||
|
||||
|
|
|
|||
Reference in a new issue