From 3fad1fc9f424e1c16a6493b6b26861325d01b55f Mon Sep 17 00:00:00 2001 From: Alan Messias Cordeiro Date: Wed, 11 Dec 2013 18:28:51 +0000 Subject: Clean up code --- openldap-controller.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openldap-controller.lua') diff --git a/openldap-controller.lua b/openldap-controller.lua index 4ba9a0c..c5154d6 100644 --- a/openldap-controller.lua +++ b/openldap-controller.lua @@ -19,6 +19,10 @@ mymodule.expert = function(self) return self.handle_form(self, self.model.get_filecontent, self.model.update_filecontent, self.clientdata, "Save", "Edit Config File", "Config File Saved") end +mymodule.manage = function(self) + return self.handle_form(self, self.model.get_filecontent, self.model.update_filecontent, self.clientdata, "Save", "Edit Config File", "Config File Saved") +end + mymodule.viewconfig = function(self) return self.model.get_config() end -- cgit v1.2.3