Is it possible to have optional parameters in a Backbone.js route?
e.g this:
routes: "search/[:query]": "searchIndex"
instead of:
routes: "search/": "searchIndex" "search/:query": "searchIndex"