webmcp
diff framework/env/request/default_router.lua @ 451:32b79658e5ae
Fixed wrong documentation (no leading slash in request.get_path)
author | jbe |
---|---|
date | Thu Jul 21 13:01:34 2016 +0200 (2016-07-21) |
parents | 545ec2e3eafa |
children |
line diff
1.1 --- a/framework/env/request/default_router.lua Thu Jul 21 12:46:10 2016 +0200 1.2 +++ b/framework/env/request/default_router.lua Thu Jul 21 13:01:34 2016 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 --[[-- 1.5 route = 1.6 request.default_router( 1.7 - path -- URL path, including a leading slash 1.8 + path -- URL path without leading slash 1.9 ) 1.10 1.11 Default conversion from a path to a route. Called by request.router().