mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-01 02:00:10 +00:00
ajuste no tratamento da home
This commit is contained in:
parent
9a3753e80a
commit
f8f30b2c4d
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Router
|
|||
$this->dispatcher = FastRoute\simpleDispatcher(function(FastRoute\RouteCollector $r) {
|
||||
// Rota principal - página inicial
|
||||
// Main route - home page
|
||||
$r->addRoute('GET', '/', function() {
|
||||
$r->addRoute(['GET','POST'], '/', function() {
|
||||
// Inicialização das variáveis para a view principal
|
||||
// Initialize variables for the main view
|
||||
require_once __DIR__ . '/../config.php';
|
||||
|
|
Loading…
Add table
Reference in a new issue