flynn/flynn-controller — pull request #4 by lmars (2014-04-24 01:16:03+00:00)
Title: Render an empty JSON array when crud lists are empty

Currently crud list endpoints return `null` rather than `[]` for empty lists, which seems wrong (I do find it surprising that `List` returns nil).

The build is currently failing with `./crud.go:77: list declared and not used`, but it is clearly "used" on line 79.

Thoughts?