1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-26 10:39:46 +02:00

allow download pdf file

This commit is contained in:
Xuan Sang LE
2018-09-11 10:35:02 +02:00
parent 9d8e0916a2
commit 4710f183e1
8 changed files with 96 additions and 1 deletions

View File

@ -9,4 +9,22 @@ 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