In this example, clicking the link will redirect user to a 404 page.
<a href="/search/ohhyea">search</a>
<script>
bone.router({
routes: {
"/search/:query": "find"
},
find: function(query, data) {
alert(query);
}
});
bone.router.start({pushState: true});
</script>