mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Fix #1801 - Add documentation for disabling hash based routing.
This commit is contained in:
@@ -2084,6 +2084,8 @@ app.navigate("help/troubleshooting", {trigger: true, replace: true});
|
||||
<p>
|
||||
To indicate that you'd like to use HTML5 <tt>pushState</tt> support in
|
||||
your application, use <tt>Backbone.history.start({pushState: true})</tt>.
|
||||
Hash based routing can be disabled by using <tt>{hashChange: false}</tt>,
|
||||
which can be useful when pre-rendering content server side.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user