zfcampus/zf-apigility-admin — pull request #196 by weierophinney (2014-07-16 21:44:29+00:00)
Title: zf-hal option 'render_collections' can break Apigility admin

Not sure if this is a bug or more of a "gotcha" but if in the course of setting up an API you switch the default behavior of `zf-hal` to not render collections:

```
'zf-hal' => array(
'renderer' => array(
'render_collections' => false,
),
),
```

The Apigility admin panel's APIs tab will die with this javascript error:

![apigility_error](https://cloud.githubusercontent.com/assets/527329/3305050/5c3ae894-f651-11e3-8fc8-827f3ef64ca4.png)

as Apigility's admin panel relies on the `GET /apigility/api/module` call to return the collection of versions for each API, but with `render_collections` off that data isn't included in the response