We want to mask specific action routes in our project's routes.php file. Currently what we have looks like this:
return array(
// /actions/api/element/section/name/{$name}/
'api/test/(?P<name>)' => ['action' => 'api/element/section'],
);
We would like to pass name into the action array somehow. Is there something documented or undocumented that I'm missing? Or is what I'm attempting not possible at this time?