Open nmsobri opened 7 years ago
Is there a way to make parameter optional? I cant see anywhere in the documentation being mention
Router({ '/foo/:optional_param' : function(){} })
/foo or foo/bar will trigger this route
Is there a way to make parameter optional? I cant see anywhere in the documentation being mention
/foo or foo/bar will trigger this route