From d03b968ef4b52a489cbb2830ab716acb8d9f118e Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 13 Feb 2015 22:43:24 +0300 Subject: [PATCH] Remove broken method from flux.md documentation 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. --- docs/guides/flux.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/guides/flux.md b/docs/guides/flux.md index da49cfa6f4..ea290a7317 100644 --- a/docs/guides/flux.md +++ b/docs/guides/flux.md @@ -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); },