summaryrefslogtreecommitdiffstats
path: root/skins-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-07-03 13:43:20 +0000
committerTed Trask <ttrask01@yahoo.com>2008-07-03 13:43:20 +0000
commit32d91ea7a92c5edee22900e8da1cafda058ca400 (patch)
tree13445d8e00e7ee3356f19a0973225967125ee3ff /skins-controller.lua
parent7947f17ad4ba8e0b3c41a9ace736e005c66017c2 (diff)
downloadacf-alpine-baselayout-32d91ea7a92c5edee22900e8da1cafda058ca400.tar.bz2
acf-alpine-baselayout-32d91ea7a92c5edee22900e8da1cafda058ca400.tar.xz
Modified skins to use viewfunctions and controllerfunctions.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1272 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'skins-controller.lua')
-rw-r--r--skins-controller.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/skins-controller.lua b/skins-controller.lua
index ee4ff9c..e344524 100644
--- a/skins-controller.lua
+++ b/skins-controller.lua
@@ -9,8 +9,6 @@ read = function (self )
end
update = function (self )
- local newskin = self.clientdata.skin or ""
- local updated = self.model.update(newskin)
- redirect(self)
+ return self:redirect_to_referrer(self.model.update(self.clientdata.skin or ""))
end