summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/generator/template/darkfish/table_of_contents.rhtml')
-rw-r--r--lib/rdoc/generator/template/darkfish/table_of_contents.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml b/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
index 8f19085bb4..bebff40f6a 100644
--- a/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
+++ b/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
@@ -30,7 +30,7 @@
<li class="<%= klass.type %>">
<a href="<%= klass.path %>"><%= klass.full_name %></a>
<% table = []
- table.concat klass.parse(klass.comment).table_of_contents
+ table.concat klass.parse(klass.comment_location).table_of_contents
table.concat klass.section_contents
unless table.empty? then %>