diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-01-13 16:11:18 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-01-13 16:11:18 +0000 |
commit | 0eebb26c9594f1c92b13e412e6ad24857143c288 (patch) | |
tree | 40504cff2acf2d0cfe97d4bea6d4194e3225f055 /app/acf-util/skins-controller.lua | |
parent | fbf9492b39641f0eef99c66b728c5d37e9bed932 (diff) | |
download | acf-core-0eebb26c9594f1c92b13e412e6ad24857143c288.tar.bz2 acf-core-0eebb26c9594f1c92b13e412e6ad24857143c288.tar.xz |
Moved skins from acf-alpine-baselayout.
Diffstat (limited to 'app/acf-util/skins-controller.lua')
-rw-r--r-- | app/acf-util/skins-controller.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/acf-util/skins-controller.lua b/app/acf-util/skins-controller.lua new file mode 100644 index 0000000..5d4d0d7 --- /dev/null +++ b/app/acf-util/skins-controller.lua @@ -0,0 +1,14 @@ +module (..., package.seeall) + +-- Public methods + +default_action = "read" + +read = function (self ) + return self.model.get(self) +end + +update = function (self ) + return self:redirect_to_referrer(self.model.update(self, self.clientdata.skin or "")) +end + |