Merge pull request #228 from vkentta/master

Fixed router location reference in docs
This commit is contained in:
Yoshua Wuyts
2016-08-23 14:37:38 +02:00
committed by GitHub
+1 -1
View File
@@ -365,7 +365,7 @@ entry point of the application also becomes a site map, making it easier to
figure out how views relate to each other. figure out how views relate to each other.
Under the hood `choo` uses [sheet-router][sheet-router]. Internally the Under the hood `choo` uses [sheet-router][sheet-router]. Internally the
currently rendered route is kept in `state.app.location`. If you want to modify currently rendered route is kept in `state.location`. If you want to modify
the location programmatically the `reducer` for the location can be called the location programmatically the `reducer` for the location can be called
using `send('location:setLocation', { location: href })`. This will not work using `send('location:setLocation', { location: href })`. This will not work
from within namespaced `models`, and usage should preferably be kept to a from within namespaced `models`, and usage should preferably be kept to a