test des routes
continuous-integration/drone/push Build is passing Details

pull/130/head
Vincent ASTOLFI 2 years ago
parent 1960020877
commit fd459d3e19

@ -7,12 +7,12 @@ Autoload::charger();
$router = new AltoRouter();
$router->map( 'GET', '/', function() {
$router->map( 'GET|POST', '/', function() {
echo "OUIIIII";
});
// map user details page
$router->map( 'GET', '/test/', function() {
$router->map( 'GET|POST', '/test', function() {
echo "NOOOOOOON";
});
?>
Loading…
Cancel
Save