ezsystems/ezp-next — pull request #87 by lolautruche (2012-10-12 10:25:01+00:00)
Title: Fixed view parameters not parsed

View parameters were not handled at all, forcing routes using them to run in legacy kernel.

This patch adds view parameters support and cleans the `semanticPathinfo`. View parameters are exposed through the `viewParameters` request attribute :

```php
// From a controller
$viewParameters = $this->getRequest()->attributes->get( 'viewParameters' );
```

```jinja
{# From a twig template #}
{% set viewParameters = app.request.attributes.get( 'viewParameters' ) %}
```