mxalix258,
The routes should be relative to the root, so:
Route::get('crm', function() { return 'Hello World'; });
Should be
Route::get('/crm', function() { return 'Hello World'; });
Or you can create a prefix (which I find to be overkill to save only a slash, lol.)
Cheers and happy coding!
Thanks for the reply, gustavor.
I didn't find that to be the case with the other site that I have working...but I gave it a shot and that doesn't seem to work either.
I must be missing something obvious...
So I tested another route, and it works.
Of these two:
Route::get('crm', function() { return 'Hello World'; });
Route::get('test', function() { return 'Hello World'; });
Only the 'test' route works...is 'crm' restricted?
"crm" is not a restricted term as far as I know... do you have a folder or file named "crm" in your public directory?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community