Can you post the contents of your routes.php file please.
Have you created the route to 'test' in there?
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?
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.
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community