Support the ongoing development of Laravel.io →
Installation Configuration Requests
Last updated 2 years ago.
0

Can you post the contents of your routes.php file please.

Have you created the route to 'test' in there?

http://laravel.com/docs/master/routing

Last updated 2 years ago.
0

Found out a bot more about routing in laravel 5 (i havent upgraded yet so apologies for not reading your question further)

Does this article help?

http://mattstauffer.co/blog/laravel-5.0-route-annotations

Looks like adding your controller to the scan array is important?

Last updated 2 years ago.
0

I already read the article, but the current dev version doesn't work as described for me. Maybe there is a glitch currently. I think the RouteServiceProvider in app/Providers is not even loaded. When I try to change anything in that file it has no effect at all.

Last updated 2 years ago.
0
Solution

Sorry, as always it was my fault. The annotation way now works for me. My stupid editor (or was it me? :-) saved my TestController as an html file.

And after php a artisan clear-compiled call, the route.php Version does work as well.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

t-kam t-kam Joined 24 Oct 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.