From 04a5a081b3a1cfabb68ae9f17e8dde49313b585e Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Wed, 15 Jul 2015 21:00:51 -0700 Subject: [PATCH] fix mixing forward slash on transistionTo --- common/app/routes/Hikes/components/Lecture.jsx | 2 +- server/boot/a-react.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/app/routes/Hikes/components/Lecture.jsx b/common/app/routes/Hikes/components/Lecture.jsx index 8cd8c7aec0..d5a7571834 100644 --- a/common/app/routes/Hikes/components/Lecture.jsx +++ b/common/app/routes/Hikes/components/Lecture.jsx @@ -41,7 +41,7 @@ export default contain( handleFinish() { debug('loading questions'); const { dashedName } = this.props.params; - this.transitionTo(`hikes/${dashedName}/questions/1`); + this.transitionTo(`/hikes/${dashedName}/questions/1`); }, render() { diff --git a/server/boot/a-react.js b/server/boot/a-react.js index 9e77e4e472..cf4bb86d43 100644 --- a/server/boot/a-react.js +++ b/server/boot/a-react.js @@ -32,7 +32,7 @@ export default function reactSubRouter(app) { // if react-router does not find a route send down the chain .filter(function({ initialState }) { if (!initialState) { - debug('tried to find %s but got 404', location.pathname); + debug('react tried to find %s but got 404', location.pathname); return next(); } return !!initialState;