# Ember Data and Link To Helper with bare id property

**URL:** <https://discuss.emberjs.com/t/ember-data-and-link-to-helper-with-bare-id-property/2206>\
**Category:** Ember Data\
**Created:** [August 18, 2013, 6:37am UTC](https://discuss.emberjs.com/t/ember-data-and-link-to-helper-with-bare-id-property/2206 "2013-08-18T06:37:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eccegordo](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/eccegordo/32/14927_2.png) [@eccegordo](https://discuss.emberjs.com/u/eccegordo)\
**Post date:** [August 18, 2013, 6:37am UTC](https://discuss.emberjs.com/t/ember-data-and-link-to-helper-with-bare-id-property/2206/1 "2013-08-18T06:37:37Z")

</div>

In the following example

[http://jsbin.com/AhunIrA/1/edit](http://jsbin.com/AhunIrA/1/edit)

I call the link to helper like this

```
{{#linkTo "cookies.cookie" id }} 

```

And I get a console error of

```
Uncaught TypeError: Cannot read property 'length' of null  

```

However with this example

[http://jsbin.com/oSiWoNE/1/edit](http://jsbin.com/oSiWoNE/1/edit)

I do

```
{{#linkTo "cookies.cookie" this }}

```

and it works.

Can someone explain why I can’t just use the bare “id” property instead of passing this?

Should the API support this? Or is this a handlebars syntax issues?

Thanks
