webmcp

view framework/env/request/set_404_route.lua @ 431:4a33becb6f59

json.export(...): also avoid exponential notation for unsigned 64 bit integers represented as float
author jbe
date Thu Jan 14 18:52:19 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