Could you add the dynamic asset to the asset manager during boot and reference it by name in your template?
k On Jun 3, 2011, at 5:46 AM, Christophe COEVOET <[email protected]> wrote: > Le 03/06/2011 14:39, Mario Alberto Alvarez Garcia a écrit : >> Hi! >> >> When using the assetic's javascripts tag with Twig, I like to pass >> dynamically the files, and also the output. This is because my app is built >> using js, and I like to built a compressed js per user, only with the files >> that user have access. I think that this is posible, but I don't now how can >> I pass variables to the javascripts tag. >> Can anyone give an idea? >> Thank's in advance! > You cannot pass variables to Assetic as the assets are dumped using the CLI, > not at runtime. > > -- > 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] > 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
