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) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -