webmcp

view framework/env/request/get_id_string.lua @ 492:93ebbc1e5dbc

Allow actions to directly return content (e.g. for XMLHttpRequests) by calling slot.set_layout(...) during request handling
author jbe
date Tue Jun 27 17:34:02 2017 +0200 (2017-06-27)
parents 25a20bd1f416
children
line source
1 --[[--
2 id_string =
3 request.get_id_string()
5 Returns the requested id for a view as a string (unprocessed). Use param.get_id(...) to get a processed version.
7 --]]--
9 function request.get_id_string()
10 return request._route.id
11 end

Impressum / About Us