Fixed Movie link in history tab (#637)

This commit is contained in:
Devin Buhl 2017-02-06 20:57:53 -05:00 committed by GitHub
commit 808033a01c

View file

@ -6,7 +6,7 @@ module.exports = TemplatedCell.extend({
render : function() { render : function() {
this.$el.html('<a href="movies/' + this.model.get("movie").get("titleSlug") +'">' + this.model.get("movie").get("title") + '</a>'); //Hack, but somehow handlebar helper does not work. this.$el.html('<a href="/movies/' + this.model.get("movie").get("titleSlug") +'">' + this.model.get("movie").get("title") + '</a>'); //Hack, but somehow handlebar helper does not work.
return this; return this;
} }
}); });