summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-01-09 17:16:18 +0000
committerTed Trask <ttrask01@yahoo.com>2013-01-09 17:16:18 +0000
commit879f60162d72c36ef3e28e2a81499fe4322b81f0 (patch)
tree0abf9ece640a54e4709e54000cac88ba9c758e11 /logfiles-controller.lua
parent93dcca992f6b2b8f4ee25939142c912ea4fa666f (diff)
downloadacf-alpine-baselayout-879f60162d72c36ef3e28e2a81499fe4322b81f0.tar.bz2
acf-alpine-baselayout-879f60162d72c36ef3e28e2a81499fe4322b81f0.tar.xz
logfiles: change view, tail, and download to take filename instead of name parameter
Diffstat (limited to 'logfiles-controller.lua')
-rw-r--r--logfiles-controller.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua
index a90afec..dcaa12d 100644
--- a/logfiles-controller.lua
+++ b/logfiles-controller.lua
@@ -14,7 +14,7 @@ delete = function (self)
end
view = function (self)
- return self.model.get_filedetails(self.clientdata.name or "", self.clientdata.grep)
+ return self.model.get_filedetails(self.clientdata.filename or "", self.clientdata.grep)
end
download = function (self)
@@ -25,5 +25,5 @@ download = function (self)
end
tail = function (self)
- return self.model.tail(self.clientdata.name, self.clientdata.offset, self.clientdata.grep)
+ return self.model.tail(self.clientdata.filename, self.clientdata.offset, self.clientdata.grep)
end