diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-03-03 17:12:39 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-03-03 17:12:39 +0000 |
commit | f7398e612b7ea669020fce518b254c95d54e47ef (patch) | |
tree | e6b325bc15aa7401f0cef5ca1807cf877693d9e5 /app/acf-util/skins-controller.lua | |
parent | d62056dfce1a702101a17093e0fcaaea22f5cc09 (diff) | |
download | acf-core-f7398e612b7ea669020fce518b254c95d54e47ef.tar.bz2 acf-core-f7398e612b7ea669020fce518b254c95d54e47ef.tar.xz |
Removed skins/read action and use skins/update instead
Diffstat (limited to 'app/acf-util/skins-controller.lua')
-rw-r--r-- | app/acf-util/skins-controller.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/acf-util/skins-controller.lua b/app/acf-util/skins-controller.lua index e6f8fc3..1bceab2 100644 --- a/app/acf-util/skins-controller.lua +++ b/app/acf-util/skins-controller.lua @@ -1,12 +1,7 @@ local mymodule = {} -- Public methods - -mymodule.default_action = "read" - -mymodule.read = function (self ) - return self.model.get(self) -end +mymodule.default_action = "update" mymodule.update = function (self ) return self.handle_form(self, self.model.get_update, self.model.update, self.clientdata, "Update", "Update Skin", "Skin updated") |