summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-07-26 16:57:34 -0400
committerTed Trask <ttrask01@yahoo.com>2015-07-26 16:57:34 -0400
commit1118fb0052d0cd9a84c824a5068ee6edaf9b289b (patch)
treebb885fcaa31b231bf060fe5c23ec8b50d652435e /logfiles-controller.lua
parent6c9429c3fe217430daaeb26cbbf75f383a62b6da (diff)
downloadacf-alpine-baselayout-1118fb0052d0cd9a84c824a5068ee6edaf9b289b.tar.bz2
acf-alpine-baselayout-1118fb0052d0cd9a84c824a5068ee6edaf9b289b.tar.xz
Modify logfile view and tail to properly use handle_clientdata
Fixed a minor bug in tail where CFE contained 'fileoffset' but action looked for 'offset'
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 10d0a55..54548be 100644
--- a/logfiles-controller.lua
+++ b/logfiles-controller.lua
@@ -14,7 +14,7 @@ mymodule.delete = function (self)
end
mymodule.view = function (self)
- return self.model.get_filedetails(self.clientdata.filename or "", self.clientdata.grep)
+ return self.model.get_filedetails(self, self.clientdata)
end
mymodule.download = function (self)
@@ -25,7 +25,7 @@ mymodule.download = function (self)
end
mymodule.tail = function (self)
- return self.model.tail(self.clientdata.filename, self.clientdata.offset, self.clientdata.grep)
+ return self.model.tail(self, self.clientdata)
end
return mymodule