fixed error on API call without parameters

https://github.com/teepluss/laravel4-api/pull/9