Question: Lets say for instance my url is localhost:3000/posts/98Xjsd39sdk, with my unique id being the last part of that URL. Is there a built in way to grab that parameter that is being passed in? I know I can also pass a data object with Iron Router, but this data seems limited to being used in the actual template with handle bars {{like-this}}. What is the best way to grab on to this parameter, I'm having trouble being able to grab it and push it console.log. Thanks!

Answer: 
There's no built in way in Meteor to extract it, but you can use plain JavaScript:

```js
var parts = location.href.split('/')
var id = parts.pop()

```
```
var help = Router.current().params.postId

```

in your template will get the Id of the post.

if you have defined your route as such:

```
Router.route('/posts/:postId', function () {
 //subscriptions go here
 if (this.ready()) {
   this.render('postsTemplate');
 } else {
   this.render('loadingTemplate');
 }
)};

```