1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00
antd-web-apps/apps/controllers/IndexController.lua
2018-09-11 10:35:02 +02:00

30 lines
525 B
Lua

BaseController:subclass("IndexController", {
registry = {}
})
function IndexController:index( ... )
return true
end
function IndexController:actionnotfound(...)
self.template:setView("index")
return self:index(table.unpack({...}))
end
function IndexController:json(...)
std.json()
echo( JSON.encode(REQUEST))
return false
end
function IndexController:get(...)
return true
end
function IndexController:form(...)
return true
end
function IndexController:upload(...)
return true
end