diff --git a/docs/USAGE b/docs/USAGE index c11397b..4cd9888 100644 --- a/docs/USAGE +++ b/docs/USAGE @@ -112,6 +112,15 @@ If the URL match the requested search, the Web browser will load immediately a new page named "nextPage/". The FALSE will be change in case of modular application (see the MODULAR APPLICATION chapter) +The Ending slash can be a problem and can be removed by using : + // If there is a no catch route ending with slash, try to reroute without slash + $route->get ("{string}/", + function ($string) + { + $r=new route (); + $r->redirect ($r->baseURL().$string); + }); + 6. Output : the renderer ------------------------ When a controller has finished his job, the result returned to the main class of