Peradventure/app.lua

29 lines
270 B
Lua

local lapis = require("lapis")
local app = lapis.Application()
local say = require('lua_scripts/main')
app:enable("etlua")
app:get("/", function(self)
self.text = say.hello()
self.plane = { "P-38L" }
return {render = "index"}
end)
return app