From 3d4463e2b16596960ff7ba44a93b87afeeea2831 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 30 May 2013 22:57:06 +0000 Subject: Add home config option to acf.conf for default home page The default_prefix and default_controller logic was broken, and is now removed --- lua/mvc.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lua') diff --git a/lua/mvc.lua b/lua/mvc.lua index aa0cc28..863b45f 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -136,13 +136,6 @@ dispatch = function (self, userprefix, userctlr, useraction, clientdata) self.conf.action = useraction or "" if clientdata then self.clientdata = clientdata end - -- If they didn't provide a controller, and a default was specified - -- use it - if self.conf.controller == "" and self.conf.default_controller then - self.conf.controller = self.conf.default_controller - self.conf.prefix = self.conf.default_prefix or "/" - end - local worker_loaded controller, worker_loaded = self:new(self.conf.prefix .. self.conf.controller) -- cgit v1.2.3