LetsLunch / lunch

Other
38 stars 3 forks source link

don't parse JSON in controller code #72

Closed cameron closed 10 years ago

cameron commented 10 years ago

https://github.com/LetsLunch/lunch/blob/development/app/scripts/browse.js#L54

controller should deal exclusively in business logic, not in request handling boilerplate. if you implement the comments in the "cleanup on isle requests" issue, this problem will go away ($http.get/post parses JSON by default).

zzmp commented 10 years ago

Integrate this into the 'cleanup' fix branch.