Is it me, do I do something wrong or is it a bug?
With this gist — https://gist.github.com/suxxes/44eea5e6f347337dd72c I get a structure like this:
public/index.php app/controllers/AnyThingController.php app/controllers/SomeThingController.php
Well, there obviously is a router.php, which is nothing, but the router file for PHP built-in WebServer, so we will not consider it.
The thing is, that when I visit /any/thing, I get: string(31) "AnyThingController::indexAction" Looks OK isn't it?
However when I visit /some/thing, I get: string(32) "SomeThingController::indexAction" string(48) "Cannot obtain a route using the name "any-thing""
Which leads me to the thought, that annotations are being read only on used files, or am I wrong?
My Phalcon version is 0.9.0 and I'm running PHP 5.4.12 on Mac OS X 10.7