summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
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