Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

README: Add page navigation via JS section #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down