From 26cb46924cc58e6f5c7f197bcf66316bbd879ef1 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 24 Apr 2008 20:31:58 +0000 Subject: Replaced all list_redir functions with redirect in mvc.lua, implemented a default_action string in each controller, removing the on_load functions git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1037 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lbu-controller.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lbu-controller.lua') diff --git a/lbu-controller.lua b/lbu-controller.lua index 060a7b8..38c4d36 100644 --- a/lbu-controller.lua +++ b/lbu-controller.lua @@ -3,10 +3,7 @@ module(..., package.seeall) -- ################################################################################ -- PUBLIC FUNCTIONS -mvc={} -function mvc.on_load (self, parent) - self.conf.default_action = "status" -end +default_action = "status" function status (self) local cmd = self.clientdata.cmd -- cgit v1.2.3