balderdashy / mast

UI conventions built on top of Backbone.JS
MIT License
81 stars 14 forks source link

Add support for express-style optional route params #89

Closed mikermcneil closed 11 years ago

mikermcneil commented 11 years ago

Instead of only backbone 0.9.9's (/:optionalParam) notation, also support backbone's /:optionalParam? notation.

mikermcneil commented 11 years ago

As of now, you can do:

/:someRequiredParam(/)(:optionalParam)