iron-meteor / iron-router

A client and server side router designed specifically for Meteor.
MIT License
1.98k stars 413 forks source link

Fixed a typo in Route.url() #1463

Closed jancurn closed 8 years ago

jancurn commented 8 years ago

For example, calling

Router.url('myRoute', {myOption: 123}, {host: 'http://www.example.com'});

would return something like

"http://www.example.co/my-route/123"

instead of

"http://www.example.com/my-route/123"