Skip to content

Commit

Permalink
Rename to tracts
Browse files Browse the repository at this point in the history
  • Loading branch information
bfreeds committed Sep 23, 2018
1 parent 9c3dea5 commit eb6a708
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/adapters/tracts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import DS from 'ember-data';
import { buildSqlUrl } from '../utils/carto';

const SQL = `SELECT * FROM mn_acs15_tracts`;

export default DS.JSONAPIAdapter.extend({
keyForAttribute(key) {
return key;
},
buildURL() {
return buildSqlUrl(SQL, 'geojson');
},
});

0 comments on commit eb6a708

Please sign in to comment.