Map feed is generated manually with json, it should be a Company.as_json() method
cera opened this issue · comments
The page is here:http://weworkinphilly.com/mapfeed
The route file indicates where to find the method which generates the json:
get 'mapfeed' => 'maps#wwip_json'
💯 👍
@cera so basically it just serves a static dump of the feed and needs to be made dynamic?
@ghostrocket - It's kind of a hack, and not really done in the correct rails way. This issue is really a suggestion to refactor it so it's more consistent with how rails code should be written.