Answer the question
In order to leave comments, you need to log in
Why is the route throwing a 404 error?
Hello!
For some reason, this route does not work:
<?php
//рабочий роут
Route::get('/', function()
{
return 'Hello World';
});
//а этот роут возвращает ошибку 404, когда в адресной строке браузера набираю
//localhost/my
Route::get('/my' , function() {
return 'This is my page';
} );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question