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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -