Should each {{render "route"}} invocation be creating new controller instances?


#1

http://jsfiddle.net/rTcXk/

according the guide render: “Gets the singleton instance of the corresponding controller”


#2

http://jsfiddle.net/rTcXk/1/

if render is invoked without a model, singleton controller instance is reused


#3

I am not sure, if there is a question (left) in here, but there was a change with regards to the render helper in RC2:

Maybe that helps clear things up.


#4

@oneiros, it is reused but it seems to change the scope of the singleton controller which makes it to first call events declared on the singleton controller’s route on the parent with out calling it on the singleton controller and bubbling to the singleton controller’s route and then to its parent.

This has caused me issues explained here: http://bit.ly/13MGFXB