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: 
I'm not exactly sure whether I understood what you are trying to achieve so please leave a comment if this is not what you wanted:.

You can declare you route with a wildcard parameter like so:

```
this.route('post', {
    path: "/posts/:postId"
});

```

Then you can acces the postId via `this.params.postId`. You can do `this.params.postId` anywhere in the route, for example in the data-part.

To make the id available to your template 'post' (if your template is called something else, you of course have to change the name in the route), just do:

```
this.route('post', {
    path: "/posts/:postId",
    data: function(){
        console.log(this.params.postId)
        return {postId: this.params.postId};
    }
});

```

Then just use {{postId}} in your template.

Hope this helps.
```
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');
 }
)};

```