From eabeabda74175db6f5051637259081bf6c54ab10 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Fri, 3 Oct 2014 13:31:18 -0400 Subject: [PATCH] tweak docs --- docs/mithril.route.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/mithril.route.md b/docs/mithril.route.md index 26a419c6..d3fede4f 100644 --- a/docs/mithril.route.md +++ b/docs/mithril.route.md @@ -215,12 +215,14 @@ where: Example URL: `http://server/#/path/to/page` - - `pathname` mode allows routing URLs that contains no special characters, however this mode requires server-side setup in order to support bookmarking and page refreshes. It also causes page refreshes in IE8. + - `pathname` mode allows routing URLs that contains no special characters, however this mode requires server-side setup in order to support bookmarking and page refreshes. It always causes page refreshes in IE8. Example URL: `http://server/path/to/page` The simplest server-side setup possible to support pathname mode is to serve the same content regardless of what URL is requested. In Apache, this URL rewriting can be achieved using ModRewrite. - + + Note that in order to use the `pathname` mode, the application must be run from the root URL. + - #### m.route.param