Skip to content

Commit

Permalink
Remove broken method from flux.md documentation
Browse files Browse the repository at this point in the history
This doesn't actually work. You should instead read path from `state` provided by `Router.run` in a callback, and fire your own custom action if you'd like.
  • Loading branch information
gaearon committed Feb 13, 2015
1 parent d69f1c1 commit d03b968
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/guides/flux.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ To avoid this, you can do one of three things:
var router;
module.exports = {
getCurrentPath() {
return router.getCurrentPath();
},
makePath(to, params, query) {
return router.makePath(to, params, query);
},
Expand Down

0 comments on commit d03b968

Please sign in to comment.