From 879f60162d72c36ef3e28e2a81499fe4322b81f0 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Jan 2013 17:16:18 +0000 Subject: logfiles: change view, tail, and download to take filename instead of name parameter --- logfiles-controller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logfiles-controller.lua') 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 -- cgit v1.2.3