webmcp

view framework/env/request/set_404_route.lua @ 432:b8477aeb1d9f

json.export(...): avoid exponential notation for integers fitting into lua_Integer represented as float
author jbe
date Thu Jan 14 19:09:49 2016 +0100 (2016-01-14)
parents c3d539e33710
children
line source
1 --[[--
2 request.set_404_route{
3 module = module, -- module name
4 view = view -- view name
5 }
7 In case a view or action is not found, the given module and view will be used to display an error page.
9 --]]--
11 function request.set_404_route(tbl)
12 request.configure(function()
13 request._404_route = tbl -- TODO: clone?
14 end)
15 end

Impressum / About Us