From 0f5a0d62881be00eea312dff40d611dbd5894765 Mon Sep 17 00:00:00 2001 From: Eric Boehs Date: Fri, 11 Jul 2014 11:55:44 -0500 Subject: [PATCH] README: Add page navigation via JS section --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ce41486..06a151b 100644 --- a/README.md +++ b/README.md @@ -401,6 +401,10 @@ Wiselinks handles page titles by passing `X-Wiselinks-Title` header with respons Of course you can use `wiselinks_title` helper in your own helpers too. +### Invoking a page navigation via Javascript + +You can use `wiselinks.page.load(path)` to go to a URL through Wiselinks. + ### Redirect handling Wiselinks follows 30x HTTP redirects. Location is updated in browser with `X-Wiselinks-Url` header that is setting up automatically (in Rails) on every wiselinks request.