Groups
Groups
Sign in
Groups
Groups
Symfony2 Admingenerator bundles support for users
Conversations
About
Send feedback
Help
custom action with params in edit part
11 views
Skip to first unread message
alex baron
unread,
Mar 4, 2014, 11:08:37 AM
3/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to symfony2adm...@googlegroups.com
Hello
i would like to add a custom action in my edit via generator.yml.
now: i use route to define the route action but i would like to pass params like this
```
edit:
params:
actions:
save: ~
list: ~
init:
route: initInventaire
params:
- pk : ClntInventaire.getId
```
i've got this error :
Some mandatory parameters are missing ("pk") to generate a URL for route "initInventaire"
what should i do ?
thanks.
Reply all
Reply to author
Forward
0 new messages