3 years ago

Routing Problem

Posted 3 years ago by iGenezys

Hi guys, first, I'm sorry for my english.

I'm here because I have a problem with my laravel project : my routes don't work, the only route who's working is the first :

Route::get('/', function () {
    return view('welcome');

This one is good and put me on the view.

Route::get('test', function (){
    return 'hello world';

This one doesn't work, and send me a NotFoundHttpException.

I created 3 differents laravel projects and test the same thing, for the same result, I really don't know why.

Do you have an idea ? I'm sorry for my english, and in advance I thank you !

Please sign in or create an account to participate in this conversation.