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 | 2ac0d30c272dc9c36c81792f608e4f6ce231ba7e (patch) | |
tree | ce325a3c7c5614f634ea25e28bdaadedeadd791e /app/acf_www-controller.lua | |
parent | f87baaa40bcc86b62759df6bf884ff53548f348c (diff) | |
download | acf-core-2ac0d30c272dc9c36c81792f608e4f6ce231ba7e.tar.bz2 acf-core-2ac0d30c272dc9c36c81792f608e4f6ce231ba7e.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/core/trunk@1037 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf_www-controller.lua')
-rw-r--r-- | app/acf_www-controller.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 54cab87..9983293 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -11,7 +11,6 @@ module(..., package.seeall) -- require statements shouldn't need to go to the disk lib require "posix" - -- We use the parent exception handler in a last-case situation local parent_exception_handler @@ -73,7 +72,6 @@ mvc.on_load = function (self, parent) self.conf.appuri = "https://" .. ENV.HTTP_HOST .. ENV.SCRIPT_NAME self.conf.default_prefix = "/" self.conf.default_controller = "welcome" - self.conf.default_action = "read" self.clientdata = FORM self.conf.clientip = ENV.REMOTE_ADDR |