From 55a89d64a17314bcf4b8c0eabf5b05deb9fd69ae Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 1 Nov 2007 10:41:29 +0000 Subject: Moved files that where placed in wrong folder (sorry for that). git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@238 ab2d0c66-481e-0410-8bed-d214d4d58bed --- app/logfiles/logfiles-controller.lua | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 app/logfiles/logfiles-controller.lua (limited to 'app/logfiles/logfiles-controller.lua') diff --git a/app/logfiles/logfiles-controller.lua b/app/logfiles/logfiles-controller.lua deleted file mode 100644 index 1770754..0000000 --- a/app/logfiles/logfiles-controller.lua +++ /dev/null @@ -1,33 +0,0 @@ -module (..., package.seeall) - --- Cause an http redirect to our "read" action --- We use the self.conf table because it already has prefix,controller,etc --- The redir code is defined in the application error handler (acf-controller) -local list_redir = function (self) - self.conf.action = "read" - self.conf.type = "redir" - error (self.conf) -end - -mvc={} -mvc.on_load = function(self, parent) - if (self.worker[self.conf.action] == nil ) or ( self.conf.action == "init" ) then - self.worker[self.conf.action] = list_redir(self) - end -end - --- Public methods - -read = function (self ) - return ({logfile = self.model:get("/var/log/mini_httpd.log")} ) -end - ---update = function (self) --- return nil ---end - ---delete = function (self) --- return nil ---end - ---create = update -- cgit v1.2.3