Multi request

@samfrench good catch, this code is untested (as it's a spike) so slipped through, should be:

```rb
component_id = env.path.split('/')[2] || nil
```