summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'logfiles-controller.lua')
-rw-r--r--logfiles-controller.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua
index dc22115..2af76ee 100644
--- a/logfiles-controller.lua
+++ b/logfiles-controller.lua
@@ -24,3 +24,10 @@ download = function (self)
return filecontent
end
+
+tail = function (self)
+ if self.clientdata.offset then
+ self.conf.viewtype = "ajax"
+ end
+ return self.model.tail(self.clientdata.name, self.clientdata.offset)
+end