diff options
Diffstat (limited to 'app/Controllers/Http/HomeController.ts')
-rw-r--r-- | app/Controllers/Http/HomeController.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Controllers/Http/HomeController.ts b/app/Controllers/Http/HomeController.ts new file mode 100644 index 0000000..dbe9fbd --- /dev/null +++ b/app/Controllers/Http/HomeController.ts | |||
@@ -0,0 +1,9 @@ | |||
1 | // import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext' | ||
2 | |||
3 | export default class HomeController { | ||
4 | public async index() { | ||
5 | // TODO: Actually do something instead of alwayas returning success. | ||
6 | |||
7 | return { hello: 'world' }; | ||
8 | } | ||
9 | } | ||