web applications - meteorjs WebApp.connectHandlers: how to match request params -
i want use express like request params. webapp.connecthandlers
not match parameters /user/:name
. should use middleware or something?
have ever tried iron router?
here's excerpt api:
router.route('/items/:_id', function () { var item = items.findone({_id: this.params._id}); this.render('showitem', {data: item}); });
Comments
Post a Comment