Renamed sample back to original

Misunderstood reference
This commit is contained in:
Sander A 2019-02-22 01:10:47 +02:00
parent 4322382046
commit 3788078fe1

View File

@ -44,7 +44,7 @@ Route::add('/test.html',function(){
echo 'Hello from test.html'; echo 'Hello from test.html';
}); });
// Get route example // Post route example
Route::add('/contact-form',function(){ Route::add('/contact-form',function(){
navi(); navi();
echo '<form method="post"><input type="text" name="test" /><input type="submit" value="send" /></form>'; echo '<form method="post"><input type="text" name="test" /><input type="submit" value="send" /></form>';