Hey guys Hasn't there been conversation somewhat related to this before per having assets at different CDN's? Looking, I see the templating configuration parameter "assets-base-urls", which ultimately sets a parameter on the DIC called "templating.assets.base_urls". But, I don't see this being used anywhere. Can anyone else shed some light?
Ryan Weaver Lead Programmer - iostudio - Nashville, TN http://www.iostudio.com http://www.thatsquality.com Twitter: @weaverryan On Fri, Jan 7, 2011 at 7:21 AM, Jordi Boggiano <[email protected]> wrote: > asset() should just have a second parameter like router->generate() > does, to generate a url or a path, or we split it in two helpers: > asset_url() and asset_path(), that would be more consistent. > > On Thu, Jan 6, 2011 at 7:40 PM, Christophe COEVOET <[email protected]> wrote: > > Le 06/01/2011 19:34, Aaron DM a écrit : > >> > >> {{ url('/path/to/asset') }} > >> > >> in twig templates > > > > url() uses the routing component to generate the url so it is not the > same > > use. My point is to get the url of the asset just as asset() returns the > > path. > > > > -- > > Christophe | Stof > > > > -- > > 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected]<symfony-devs%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/symfony-devs?hl=en > > > > > > -- > Jordi Boggiano > @seldaek :: http://seld.be/ > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- 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 [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
