Initial commit
This commit is contained in:
10
app/http/controllers/Home.controller.ts
Normal file
10
app/http/controllers/Home.controller.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import {Controller, Request, view, Injectable} from '../../../bundle/daton.ts'
|
||||
|
||||
@Injectable()
|
||||
export default class HomeController extends Controller {
|
||||
|
||||
async get_home(request: Request) {
|
||||
return view('home', { greeting: 'Hello' })
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user