summaryrefslogtreecommitdiffstats
path: root/skins-controller.lua
blob: e3445244cdbf9634e56d8a361ffb3b3232637768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module (..., package.seeall)

-- Public methods

default_action = "read"

read = function (self )
	return self.model.get()
end

update = function (self )
	return self:redirect_to_referrer(self.model.update(self.clientdata.skin or ""))
end