Answer the question
In order to leave comments, you need to log in
Laravel 4. Why doesn't Route work?
I write in the app/routes.php file: Route::get('/', '[email protected]');
when you go to the main page, everything is fine.
And if I write, for example: Route::get('/post', '[email protected]');
then when I go to site.ru/post I
write an error Not Found
In the controller: return 'Hello world'; I don't think it's the controller.
I'm running wamp latest version.
Why does not it work?
Answer the question
In order to leave comments, you need to log in
Post the complete routes.php and Postcontroller.php file.
try /index.php/post
mod_rewrite enabled?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question