diff --git a/src/js/Root.jsx b/src/js/Root.jsx
index 603d37d68..6e319cbd8 100644
--- a/src/js/Root.jsx
+++ b/src/js/Root.jsx
@@ -22,6 +22,7 @@ import Candidate from "./routes/Ballot/Candidate";
/* Ballot Off-shoot Pages */
import Opinions from "./routes/Opinions";
+import GuidePositionList from './routes/Guide/PositionList'; // A list of all positions from one guide
/* More */
import More from "./routes/More";
@@ -73,6 +74,9 @@ const routes = (firstVisit, voter) =>
+ {/* Voter Guide Pages */}
+
+
{ firstVisit ? : }
diff --git a/src/js/utils/service.js b/src/js/utils/service.js
index 25b7a94ab..8715aaabc 100644
--- a/src/js/utils/service.js
+++ b/src/js/utils/service.js
@@ -46,6 +46,8 @@ export function get (options) {
var opts = assign(defaults, options);
opts.url = url.resolve(opts.baseUrl, opts.endpoint);
+ // We add voter_device_id to all endpoint calls
+ opts.query["voter_device_id"] = cookies.getItem("voter_device_id");
return new Promise( (resolve, reject) => new request.Request("GET", opts.url)
.accept(opts.dataType)
@@ -112,7 +114,9 @@ export function candidatesRetrieve (office_we_vote_id, success ) {
// get the ballot items
export function voterBallotItemsRetrieve (success) {
- return get({ endpoint: "voterBallotItemsRetrieve", success });
+ return get({
+ endpoint: "voterBallotItemsRetrieve",
+ success });
}
export function positionOpposeCountForBallotItem (id, kind_of_ballot_item, success ) {