From 22e325af86250d82f5125da5feebb04e8b081d00 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Tue, 11 Jun 2013 09:24:03 -0400 Subject: [PATCH] Show chapter asset path properly in textbook show view --- cms/templates/js/textbook-show.underscore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/templates/js/textbook-show.underscore b/cms/templates/js/textbook-show.underscore index cc4cdeba81..0afcdea4d3 100644 --- a/cms/templates/js/textbook-show.underscore +++ b/cms/templates/js/textbook-show.underscore @@ -3,7 +3,7 @@ <% if(chapters.length > 1) {%> <%= chapters.length %> PDF Chapters <% } else if(chapters.length === 1) { %> - <%= chapters.at(0).asset_path %> + <%= chapters.at(0).get("asset_path") %> <% } %> <%= gettext("view in course") %>