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

Commit

Permalink
Update routing.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Mar 31, 2020
1 parent 7f974f3 commit f247d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ to integrate the 404 page with the style of your overall website:
Modifying the URL
-----------------

You can obtain *and modify* the URL of the current page using [WebBrowser.url](https://github.com/kwebio/kweb-core/blob/master/src/main/kotlin/kweb/WebBrowser.kt#L98).
You can obtain *and modify* the URL of the current page using `WebBrowser.url <https://github.com/kwebio/kweb-core/blob/master/src/main/kotlin/kweb/WebBrowser.kt#L98>`_.


This returns a *KVar<String>* which contains the URL relative to the origin - so for the page "http://foo/bar/z" the *url* would be */bar/z*.
Expand Down

0 comments on commit f247d68

Please sign in to comment.