On Dec 28, 2011, at 03:49 , Jbm wrote: > Is there any plan to include a feature to allow referencing > controllers, templates and repositories (or whaterever you can address > through paths) in a relative way? That is without having to write the > bundle name each and every single time? > It becomes very annoying if most of the time you are working with > objects in the same bundle. > > I asked on stackoverflow and someone wrote the code to do it, at least > for some use cases. > I think this is a must have. > > http://stackoverflow.com/questions/8395541/can-symfony2-controller-and-template-expressions-be-written-relative-to-the-bund
as you can see its not "cheap" to do this kind of magic. if you want to write even less use the SensioFrameworkExtraBundle. but i dont think there is much more to do here. if you want more create your own base controller class with the above code. regards, Lukas Kahwe Smith m...@pooteeweet.org -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en