summaryrefslogtreecommitdiffstats
path: root/skins-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'skins-controller.lua')
-rw-r--r--skins-controller.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/skins-controller.lua b/skins-controller.lua
index e344524..5d4d0d7 100644
--- a/skins-controller.lua
+++ b/skins-controller.lua
@@ -5,10 +5,10 @@ module (..., package.seeall)
default_action = "read"
read = function (self )
- return self.model.get()
+ return self.model.get(self)
end
update = function (self )
- return self:redirect_to_referrer(self.model.update(self.clientdata.skin or ""))
+ return self:redirect_to_referrer(self.model.update(self, self.clientdata.skin or ""))
end