summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-28 15:03:23 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-28 15:03:23 +0000
commita506f1cf5243a5458af1ec4c13946fc88a7dbb84 (patch)
tree732fcae01363c8e68876cff76e19f8753df968ab /lib
parent5700d48f9d9d6906937003297a7f35f9ba212c29 (diff)
downloadacf-core-a506f1cf5243a5458af1ec4c13946fc88a7dbb84.tar.bz2
acf-core-a506f1cf5243a5458af1ec4c13946fc88a7dbb84.tar.xz
Fixed template bug, remembered to actually remove the basename/dirname functions.
Diffstat (limited to 'lib')
-rw-r--r--lib/roles.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/roles.lua b/lib/roles.lua
index f38ce6a..2bceb01 100644
--- a/lib/roles.lua
+++ b/lib/roles.lua
@@ -38,10 +38,10 @@ get_controllers = function(self,pre,controller)
filename = string.match(v,"[^/]*.lua")
name = string.match(filename,"[^.]*")
sname = string.match(filename,"[^-]*")
- temp[prefix.."/"..sname] = {path=path,prefix=prefix,filename=filename,name=name,sname=sname}
+ temp[prefix..sname] = {path=path,prefix=prefix,filename=filename,name=name,sname=sname}
end
if pre and controller then
- return temp[pre.."/"..controller]
+ return temp[pre..controller]
else
return temp
end