diff options
Diffstat (limited to 'lib/rdoc/generator/template/darkfish/table_of_contents.rhtml')
-rw-r--r-- | lib/rdoc/generator/template/darkfish/table_of_contents.rhtml | 2 |
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 941ff9d630..09b5379fc0 100644 --- a/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +++ b/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml @@ -36,7 +36,7 @@ unless table.empty? then %> <ul> <%- table.each do |item| -%> - <li><a href="<%= klass.path %>#<%= item.aref %>"><%= item.plain_html %></a> + <li><a href="<%= klass.path %>#<%= item.label(klass) %>"><%= item.plain_html %></a> <%- end -%> </ul> <%- end -%> |