diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:19:05 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-18 01:19:05 +0000 |
commit | 79cfe4b373abc872c856c180fef53da80cd800e0 (patch) | |
tree | 0ed9e5548512aafa55d763fac646beed22eada02 /gross-controller.lua | |
parent | 56d2e632163109dca36c4c7e17a26c1379d678eb (diff) | |
download | acf-gross-79cfe4b373abc872c856c180fef53da80cd800e0.tar.bz2 acf-gross-79cfe4b373abc872c856c180fef53da80cd800e0.tar.xz |
Started work on updating for acf-core-0.15
Removed controllerfunctions library (still needs more work and corresponding work in model)
Updated startstop functionality and deleted view
Updated for viewfunctions to htmlviewfunctions and modified require statements for acf libraries
Diffstat (limited to 'gross-controller.lua')
-rw-r--r-- | gross-controller.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gross-controller.lua b/gross-controller.lua index feb91dc..bce4c6c 100644 --- a/gross-controller.lua +++ b/gross-controller.lua @@ -1,8 +1,5 @@ module(..., package.seeall) --- Load libraries -require("controllerfunctions") - default_action = "status" function status(self) @@ -10,7 +7,7 @@ function status(self) end function startstop(self) - return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) + return self.handle_form(self, self.model.get_startstop, self.model.startstop_service, self.clientdata) end function details(self) @@ -18,5 +15,5 @@ function details(self) end function expert(self) - return controllerfunctions.handle_form(self, self.model.get_filedetails, self.model.update_filedetails, self.clientdata, "Save", "Edit Gross Config", "Configuration Set") + return self.handle_form(self, self.model.get_filedetails, self.model.update_filedetails, self.clientdata, "Save", "Edit Gross Config", "Configuration Set") end |