duckduckgo/community-platform — pull request #273 by MariagraziaAlastra (2014-11-01 10:37:31+00:00)
Title: IA Page - merge ia/view/<id> with ia/edit/<id>

@russellholt @jdorweiler @jbarrett

It also performs user permissions check on page load, and, depending from the result, stashes the appropriate class to the Xslate template.
That class is then used in IAPage.js to assign the appropriate Handlebars template to the page.

I prefer keeping two separate Handlebars template for the same page because I feel it's less messy than adding/removing classes in the JS file.