emberjs/ember.js — pull request #2212 by zubairov (2013-03-04 21:05:48+00:00)
Title: Router can not render View with embedded Template (non-externalized)

I have a simple View that I would like to render when Route is executed. Apparently Route implementation of render function always try to set a particular template into the view, ignoring if:
- View already has a template
- Template which is trying to be set is not there (undefined)

This small fix checking if template is there and if not then it will not try to manipulate template parameter of the view.

Stackoverflow question - http://stackoverflow.com/questions/15210975/view-with-embedded-template-cant-be-rendered

JSFiddle: http://jsfiddle.net/nL5vf/