# Pass a model to a controller

**URL:** <https://discuss.emberjs.com/t/pass-a-model-to-a-controller/13361>\
**Category:** Learning Team\
**Created:** [July 30, 2017, 5:38pm UTC](https://discuss.emberjs.com/t/pass-a-model-to-a-controller/13361 "2017-07-30T17:38:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![emiliogambone](https://avatars.discourse-cdn.com/v4/letter/e/ac8455/32.png) [@emiliogambone](https://discuss.emberjs.com/u/emiliogambone)\
**Post date:** [July 30, 2017, 5:38pm UTC](https://discuss.emberjs.com/t/pass-a-model-to-a-controller/13361/1 "2017-07-30T17:38:50Z")

</div>

Hi!

in my helper i try to call this.get(‘model’) and appears the error “this is undefined”.

So, is there any way to get it directly from the helper? Or should i pass it from the template?

---

<div class="post-metadata">

**Author:** ![locks](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/locks/32/3878_2.png) [@locks](https://discuss.emberjs.com/u/locks)\
**Post date:** [July 30, 2017, 9:40pm UTC](https://discuss.emberjs.com/t/pass-a-model-to-a-controller/13361/2 "2017-07-30T21:40:16Z")

</div>

Hi @emiliogambone.

Yes, you should explicitly pass the model to the helper.  
`this.get('model')` works in the controller because the route sets it up beforehand, everything else you have to explicitly pass it.
