So in my routes.php file I have this:
Route::get('contact', function() {
return view('contact');
});
When I go to domain.com/contact I get a return error. However when I put:
Route::get('/', function() {
return view('contact');
});
and go to domain.com the page appears. Any idea what could be causing this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire