On 23.02.2010 09:26, Fabien Potencier wrote:
> I'm not sure I understand your concern here. The "resource" thing
> imports ALL the routes from a given file. And when you add the prefix,
> it is added in front of all the routes from the imported file. So,
> basically, the resource parameter IS an import statement like we have in
> the DIC.

Mhh you're right, works even without prefix, I guess I had something
else broken yesterday while playing around and thought it didn't import
all routes.. My bad :)

> It definitely should. One more thing: the parameter MUST be defined
> AFTER setting the kernel configuration:

Ok.. It works if I put it in config_dev.yml, but not if I put it in
config.yml, that's great but how do I override it for the whole app ? It
*is* at the end of the config.yml when it fails. I also killed the cache
dir to be sure..

The request handler service is:

    $instance = new Symfony\Components\RequestHandler\Request();

And when I change config_dev becomes:

    $instance = new Bundle\Request();

Any idea?

Cheers,
Jordi

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to