diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-04-24 20:31:58 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-04-24 20:31:58 +0000 |
commit | 26cb46924cc58e6f5c7f197bcf66316bbd879ef1 (patch) | |
tree | f6ff4fe485697b324625b3fc6cd9645cc9cf42d9 | |
parent | d5486de22228d4f1fd10e332cbf8e8dcd4680508 (diff) | |
download | acf-alpine-conf-26cb46924cc58e6f5c7f197bcf66316bbd879ef1.tar.bz2 acf-alpine-conf-26cb46924cc58e6f5c7f197bcf66316bbd879ef1.tar.xz |
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
-rw-r--r-- | lbu-controller.lua | 5 |
1 files changed, 1 insertions, 4 deletions
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 |