KnpLabs/KnpRadBundle — pull request #201 by Einenlum (2014-10-24 09:48:32+00:00)
Title: Add a short syntax to routing arguments

A string argument is now a `name` argument by default.

Instead of using :

resources:
edit:
defaults:
_resources:
entity:
…
arguments: [{name: foo}, {value: 5}, {name: bar}, {value: norf}]

You can now use the short syntax :

arguments: [foo, {value: 5}, bar, {value: norf}]

`arguments: [id]` is now equivalent to `arguments: [{name: id}]`.