summaryrefslogtreecommitdiffhomepage
path: root/examples/ffluci/controller/admin/index.lua
blob: 9aec94c867a18729cada98b632a4abdb2da6b4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module(..., package.seeall)

function dispatcher(request)
	require("ffluci.template").render("header")
	print("Hello there, Mr. Administrator")
	require("ffluci.template").render("footer")
end

menu = {
	descr   = "Administrative",
	order   = 10,
	entries = {
		{action = "index", descr = "Hello"}
	}
}