@Kris, when I do that, I receive this error: Fatal error: Maximum function
nesting level of '100' reached, aborting!
This is muy bundle code:
class EnfrigoWebAppBundle extends Bundle
{
public function boot()
{
$am = $this->container->get('assetic.asset_manager');
$am->set('main_js', new FileAsset('js/main.js'));
}
}
And view code:
{% javascripts '@main_js' %}
<script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}
--
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