summaryrefslogtreecommitdiffstats
path: root/health-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'health-controller.lua')
-rw-r--r--health-controller.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/health-controller.lua b/health-controller.lua
index 2ce32d4..a6f18b2 100644
--- a/health-controller.lua
+++ b/health-controller.lua
@@ -1,5 +1,5 @@
module (..., package.seeall)
-
+--[[
local list_redir = function (self)
self.conf.action = "system"
self.conf.type = "redir"
@@ -12,6 +12,12 @@ mvc.on_load = function(self, parent)
self.worker[self.conf.action] = list_redir(self)
end
end
+--]]
+mvc={}
+mvc.on_load = function(self, parent)
+ --self.worker[self.conf.default_action] = "system"
+ self.conf.default_action = "system"
+end
-- Public methods