summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/controller/admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/controller/admin')
-rw-r--r--src/ffluci/controller/admin/index.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ffluci/controller/admin/index.lua b/src/ffluci/controller/admin/index.lua
new file mode 100644
index 0000000000..9aec94c867
--- /dev/null
+++ b/src/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