Support the ongoing development of Laravel.io →
posted 10 years ago
Requests
Last updated 2 years ago.
0
Route::get('test',array('uses'=>'HomeController@showWelcome'));
Last updated 2 years ago.
0

It should be Route::get not Root::get.

Do you have mod_rewrite enabled?

Accessing through http://localhost/laravel/index.php/test works?

Last updated 2 years ago.
0

Thanks you brunogaspar. Problem solved. It was because mod_rewrite wasn't enabled.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dsskdn dsskdn Joined 3 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.