newPOPE/Nette-RestRoute — pull request #6 by lichtner (2013-03-31 19:40:11+00:00)
Title: Add action readAll (default is off)

Hi,
my every function actionRead() begins with:

```php
function actionRead($id) {
if ($id) {
// read one row
} else {
// read list of rows
}
}
```
this commit add actionReadAll()

```php
function actionReadAll() {
// read list of rows
}

function actionRead($id) {
// read one row
}
```

for backward compatibility I added third params useReadAll with default false. What do you think about it?