On 2/23/10 9:36 AM, Jordi Boggiano wrote:
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?
I will have to investigate more. That's definitely a bug ;)
Fabien
Cheers,
Jordi
--
You received this message because you are subscribed to the Google Groups "symfony
developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en.