79345230

Date: 2025-01-10 09:45:39
Score: 0.5
Natty:
Report link

When we "open" a web page usually it's made via a GET request, it may be missing your GET route to send the request to your view.

I think your routes must be something like this:

route::view('/contato', 'contato');
route::post('/contato', [ContatoController::class, 'contato'])->name('app.contato');

PS

I'm assuming your view is on root.

If you need to send some data to your view you may need to go to the controller first.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When we
  • Low reputation (0.5):
Posted by: Juranir Santos