From 0eebb26c9594f1c92b13e412e6ad24857143c288 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 13 Jan 2010 16:11:18 +0000 Subject: Moved skins from acf-alpine-baselayout. --- app/acf-util/skins-controller.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app/acf-util/skins-controller.lua (limited to 'app/acf-util/skins-controller.lua') 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 + -- cgit v1.2.3