From 2ac0d30c272dc9c36c81792f608e4f6ce231ba7e 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/core/trunk@1037 ab2d0c66-481e-0410-8bed-d214d4d58bed --- app/welcome-controller.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/welcome-controller.lua') diff --git a/app/welcome-controller.lua b/app/welcome-controller.lua index 3ff5cc5..77735ec 100644 --- a/app/welcome-controller.lua +++ b/app/welcome-controller.lua @@ -1,6 +1,8 @@ -- A standin controller for testing module (..., package.seeall) +default_action = "read" + read = function (self ) return ( {self = self} ) end -- cgit v1.2.3