m3nt0r/cakephp-twig-view — Issue #10: Mixed arrays (i.e. using url() and others)
Author: openback
Created: 2012-02-24 22:05:00+00:00
State: open

I've been trying to figure out how to properly call url(), since Twig doesn't support arrays with mixed indexing. i see there are no examples of generated urls in your examples, so how are we supposed to go about this?

{# This is invalid #}
{{ html.url({'action': 'view', site.id, site.slug}) }}