summaryrefslogtreecommitdiffstats
path: root/alpineversion-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'alpineversion-controller.lua')
-rw-r--r--alpineversion-controller.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/alpineversion-controller.lua b/alpineversion-controller.lua
index 4d785ae..901ea59 100644
--- a/alpineversion-controller.lua
+++ b/alpineversion-controller.lua
@@ -1,10 +1,11 @@
-- the alpineversion controller
-module (..., package.seeall)
+local mymodule = {}
-default_action = "read"
+mymodule.default_action = "read"
-read = function (self )
+mymodule.read = function (self )
return self.model.get()
end
+return mymodule