How to send model details in this.render call


#1

how do i set model to be used by template if i am using render. in case of url change model hook of route will be called so one can set model over there but how to set model when render is used.

Also is it possible to render templates in controllers since this.render is available only in route.

like in http://jsbin.com/ACUDIwi/7/edit I had to bubble event “selectedItem” to indexroute so that rendering could happen.