Route is:
@Route("/{userId}", name="admin_user_show")
Action is:
$myRowAction = new RowAction('Show', 'admin_user_show', false, '_self', array('class' => 'show'));
This results in an error because APY always expects that the route parameter name is 'id'. Ideally, it should have the option to be customizable. So, in my case, it can be 'userId'.
Route is:
@Route("/{userId}", name="admin_user_show")
Action is:
$myRowAction = new RowAction('Show', 'admin_user_show', false, '_self', array('class' => 'show'));
This results in an error because APY always expects that the route parameter name is 'id'. Ideally, it should have the option to be customizable. So, in my case, it can be 'userId'.