diff options
Diffstat (limited to 'hostname-controller.lua')
-rw-r--r-- | hostname-controller.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hostname-controller.lua b/hostname-controller.lua index 623373f..c68c5c3 100644 --- a/hostname-controller.lua +++ b/hostname-controller.lua @@ -1,8 +1,6 @@ -- the hostname controller module (..., package.seeall) -require("controllerfunctions") - default_action = "read" read = function(self) @@ -10,5 +8,5 @@ read = function(self) end edit = function(self) - return controllerfunctions.handle_form(self, self.model.read_name, self.model.update_name, self.clientdata, "Save", "Edit Hostname", "Hostname Set") + return self.handle_form(self, self.model.read_name, self.model.update_name, self.clientdata, "Save", "Edit Hostname", "Hostname Set") end |