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:
@ -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
|
Reference in New Issue
Block a user