codeforamerica/human_services_finder — pull request #178 by anselmbradford (2013-07-14 16:42:12+00:00)
Title: Bug fixes

Provide various bug fixes and cleanup of code.

@monfresh - We had a conflict in routes.rb, we were both trying to achieve the same thing, but did it differently. See https://github.com/codeforamerica/human_services_finder/commit/aa6d7f22537e31223e72c30f24ec1ca595c81d80 and https://github.com/codeforamerica/human_services_finder/commit/f07f76610b76e4efba2b0d938fb05bfaecfa0e15

You used a only scope for resources and I changed it to a "get" route. I resolved the conflict to the get route because organizations doesn't have a true db model behind it, but it still has model/organization.rb, so fix this if it's incorrect for some reason. Both approaches work as far as I can tell, I'm just not sure if the resources approach is adding additional overhead or the get approach is missing a route needed. Also, not sure if it should be `get` or `matches`.