Fixed controllers paths
This commit is contained in:
parent
178c476109
commit
69633e81c8
3 changed files with 14 additions and 14 deletions
|
@ -3,81 +3,81 @@
|
|||
return [
|
||||
'/' => [
|
||||
'name' => 'Homepage',
|
||||
'controller' => 'controllers/home.php',
|
||||
'controller' => 'controllers/web/home.php',
|
||||
'sdk' => false,
|
||||
'tests' => false,
|
||||
],
|
||||
'console/' => [
|
||||
'name' => 'Console',
|
||||
'controller' => 'controllers/console.php',
|
||||
'controller' => 'controllers/web/console.php',
|
||||
'sdk' => false,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/account' => [
|
||||
'name' => 'Account',
|
||||
'description' => '/docs/services/account.md',
|
||||
'controller' => 'controllers/account.php',
|
||||
'controller' => 'controllers/api/account.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/auth' => [ // Add to docs later: You can also learn how to [configure support for our supported OAuth providers](/docs/oauth)
|
||||
'name' => 'Auth',
|
||||
'description' => '/docs/services/auth.md',
|
||||
'controller' => 'controllers/auth.php',
|
||||
'controller' => 'controllers/api/auth.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/avatars' => [
|
||||
'name' => 'Avatars',
|
||||
'description' => '/docs/services/avatars.md',
|
||||
'controller' => 'controllers/avatars.php',
|
||||
'controller' => 'controllers/api/avatars.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/database' => [
|
||||
'name' => 'Database',
|
||||
'description' => '/docs/services/database.md',
|
||||
'controller' => 'controllers/database.php',
|
||||
'controller' => 'controllers/api/database.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/locale' => [
|
||||
'name' => 'Locale',
|
||||
'description' => '/docs/services/locale.md',
|
||||
'controller' => 'controllers/locale.php',
|
||||
'controller' => 'controllers/api/locale.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/health' => [
|
||||
'name' => 'Health',
|
||||
'controller' => 'controllers/health.php',
|
||||
'controller' => 'controllers/api/health.php',
|
||||
'sdk' => false,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/projects' => [
|
||||
'name' => 'Projects',
|
||||
'controller' => 'controllers/projects.php',
|
||||
'controller' => 'controllers/api/projects.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/storage' => [
|
||||
'name' => 'Storage',
|
||||
'description' => '/docs/services/storage.md',
|
||||
'controller' => 'controllers/storage.php',
|
||||
'controller' => 'controllers/api/storage.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/teams' => [
|
||||
'name' => 'Teams',
|
||||
'description' => '/docs/services/teams.md',
|
||||
'controller' => 'controllers/teams.php',
|
||||
'controller' => 'controllers/api/teams.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
'v1/users' => [
|
||||
'name' => 'Users',
|
||||
'description' => '/docs/services/users.md',
|
||||
'controller' => 'controllers/users.php',
|
||||
'controller' => 'controllers/api/users.php',
|
||||
'sdk' => true,
|
||||
'tests' => false,
|
||||
],
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
include_once 'shared/web.php';
|
||||
include_once '../shared/web.php';
|
||||
|
||||
global $utopia, $response, $request, $layout, $version, $providers;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
include_once 'shared/web.php';
|
||||
include_once '../shared/web.php';
|
||||
|
||||
global $utopia, $response, $request, $layout, $version, $providers, $sdks;
|
||||
|
||||
|
|
Loading…
Reference in a new issue