30
rated 0 times
[
34]
[
4]
/ answers: 1 / hits: 24185
/ 12 Years ago, wed, march 7, 2012, 12:00:00
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
More From » backbone.js