From 5ea93977d751b04b79b815a7d388d5993e0fb974 Mon Sep 17 00:00:00 2001 From: Ville Kentta Date: Sun, 21 Aug 2016 21:35:59 +0300 Subject: [PATCH] Fixed router location reference in docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a388c4..18f9955 100644 --- a/README.md +++ b/README.md @@ -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. 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 using `send('location:setLocation', { location: href })`. This will not work from within namespaced `models`, and usage should preferably be kept to a