diff options
Diffstat (limited to 'examples/ffluci/controller/admin/index.lua')
-rw-r--r-- | examples/ffluci/controller/admin/index.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/ffluci/controller/admin/index.lua b/examples/ffluci/controller/admin/index.lua new file mode 100644 index 000000000..9aec94c86 --- /dev/null +++ b/examples/ffluci/controller/admin/index.lua @@ -0,0 +1,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"} + } +}
\ No newline at end of file |