12 lines
323 B
TypeScript
12 lines
323 B
TypeScript
import Controller from '../../../lib/src/http/Controller.ts'
|
|
import {Request} from '../../../lib/src/http/Request.ts'
|
|
import {view} from '../../../lib/src/http/response/helpers.ts'
|
|
|
|
export default class HomeController extends Controller {
|
|
|
|
get_home(request: Request) {
|
|
return view('home', { request })
|
|
}
|
|
|
|
}
|