summaryrefslogtreecommitdiffstats
path: root/lua/mvc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mvc.lua')
-rwxr-xr-xlua/mvc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mvc.lua b/lua/mvc.lua
index 31846ab..8735942 100755
--- a/lua/mvc.lua
+++ b/lua/mvc.lua
@@ -341,7 +341,7 @@ end
mymodule.auto_view = function(viewtable, viewlibrary, pageinfo, session)
if pageinfo.viewtype == "html" then
local htmlviewfunctions = require("htmlviewfunctions")
- htmlviewfunctions.displayitem(viewtable, 1, pageinfo)
+ htmlviewfunctions.displayitem(viewtable, pageinfo)
elseif pageinfo.viewtype == "json" then
local json = require("json")
print(json.encode(viewtable))