Skip to content
Snippets Groups Projects
Commit 22e325af authored by David Baumgold's avatar David Baumgold
Browse files

Show chapter asset path properly in textbook show view

parent 7f2b82c4
No related branches found
No related tags found
No related merge requests found
......@@ -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") %>
<% } %>
<a href="#" class="view"><%= gettext("view in course") %></a>
<button class="edit"><%= gettext("Edit") %></button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment