No guys, I don't want to output tags! What I need is to add a file to assets from a template. I can do that with the following PHP code both from the controller and from the template, but so far I couldn't find a way to use Volt. The case for that would be if a front-end developer or designer needs to include a JavaScript file for that particular view. It would be nice to have something in Volt that would allow for that.
$this->assets->addJs('js/filename.js')
I'm looking for the equivalent Volt code of the previous PHP code ;)