# Route not triggering with {{render}} helper

**URL:** <https://discuss.emberjs.com/t/route-not-triggering-with-render-helper/6148>\
**Category:** Uncategorized\
**Created:** [August 28, 2014, 10:41pm UTC](https://discuss.emberjs.com/t/route-not-triggering-with-render-helper/6148 "2014-08-28T22:41:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![green\_arrow](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/green_arrow/32/9383_2.png) [@green\_arrow](https://discuss.emberjs.com/u/green_arrow)\
**Post date:** [August 28, 2014, 10:41pm UTC](https://discuss.emberjs.com/t/route-not-triggering-with-render-helper/6148/1 "2014-08-28T22:41:49Z")

</div>

It is very possible that I’m doing this completely wrong or in a way that is not intended, but here is what I’m trying to accomplish:

I have some data that gets returned and is the model for my `index` route. This data is an array. For each item in the array, I need to render out a template that has its own model. Right now, I have these routes / templates stored in the following manner:

```auto
widgets/<widgetName>

```

So for a widget, let’s call it “general”, I will have the following:

`app/routes/widgets`:

```auto
general.js

```

`app/templates/widgets`:

```auto
general.js

```

In the `general` route, I am returning a model (retrieved via ember-data).

My problem: this route is never being hit. In my `index.hbs` page, I have tried:

`{{render "widgets/general"}}`

The template is rendered out, but there is not model backing and the route is never triggered.

Am I doing something wrong? Is a behavior like this even supported or is there a different method I should be using?

Any guidance would be appreciated.

---

<div class="post-metadata">

**Author:** ![opsb](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/opsb/32/9475_2.png) [@opsb](https://discuss.emberjs.com/u/opsb)\
**Post date:** [August 29, 2014, 5:28am UTC](https://discuss.emberjs.com/t/route-not-triggering-with-render-helper/6148/2 "2014-08-29T05:28:49Z")

</div>

The routes are only triggered when the url changes. If you use the render helper you should pass the model in e.g.

```
{{render "widgets/general" model}}

```

As you’re talking about widgets though I suspect you should be use a component instead of the render helper. [Templates are HTML - Components - Ember Guides](http://emberjs.com/guides/components/)

---

<div class="post-metadata">

**Author:** ![maxn](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@maxn](https://discuss.emberjs.com/u/maxn)\
**Post date:** [August 30, 2014, 3:56am UTC](https://discuss.emberjs.com/t/route-not-triggering-with-render-helper/6148/3 "2014-08-30T03:56:48Z")

</div>

Your problem sound a lot like [Dashboard type views](http://discuss.emberjs.com/t/dashboard-type-views/5187) This thread contains a lot of advice on how to deal with those kind of things.
