[][src]Function roost_client::intercept_relative_links

fn intercept_relative_links(store: Rc<RefCell<Store>>)

Ensure that anytime a link such as <a href="/foo"></a> is clicked we re-render the page locally instead of hitting the server to load a new page.