alexknowshtml / We-Work-In-Philly

8 stars 14 forks source link

Map feed is generated manually with json, it should be a Company.as_json() method #48

Open cera opened 11 years ago

cera commented 11 years ago

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'

bradoyler commented 11 years ago

:100: :+1:

ghostrocket commented 11 years ago

@cera so basically it just serves a static dump of the feed and needs to be made dynamic?

cera commented 11 years ago

@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.