From 29ba98b4f151883bedfb6561051d17b4889322aa Mon Sep 17 00:00:00 2001 From: Nathan Angelacos Date: Tue, 11 Nov 2008 19:02:10 +0000 Subject: roles in permissions needed to look for _ in controllers as well git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1592 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/roles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/roles.lua') diff --git a/lib/roles.lua b/lib/roles.lua index 5754ac1..dcf2bd9 100644 --- a/lib/roles.lua +++ b/lib/roles.lua @@ -39,7 +39,7 @@ get_controllers = function(self,controller) --we need to grab the directory and name of file local temp = {} for k,v in pairs(list) do - path = string.match(v,"[/%w-]+/") + path = string.match(v,"[/%w_-]+/") filename = string.match(v,"[^/]*.lua") name = string.match(filename,"[^.]*") sname = string.match(filename,"[^-]*") -- cgit v1.2.3