emberjs/ember.js — pull request #2407 by teddyzeenny (2013-04-05 16:48:08+00:00)
Title: Stop application template from duplicating on re-render

Some cases might cause the `application` template to re-render (such as changing the context in the `ApplicationRoute#model` hook).

Currently the application template is duplicated. This PR tears down the existing `application` view before re-rendering.