lib/rdoc/generator/template/rails/_context.rhtml in sdoc-0.3.16 vs lib/rdoc/generator/template/rails/_context.rhtml in sdoc-0.3.17

- old
+ new

@@ -148,14 +148,15 @@ <div class="sectiontitle"><%= type.capitalize %> <%= visibility.to_s.capitalize %> methods</div> <% methods.each do |method| %> <div class="method"> <div class="title method-title" id="<%= method.aref %>"> <% if method.call_seq %> - <a name="<%= method.aref %>"></a><b><%= method.call_seq.gsub(/->/, '&rarr;') %></b> + <b><%= method.call_seq.gsub(/->/, '&rarr;') %></b> <% else %> - <a name="<%= method.aref %>"></a><b><%= h method.name %></b><%= h method.params %> + <b><%= h method.name %></b><%= h method.params %> <% end %> + <a href="<%= "#{rel_prefix}/#{context.path}##{method.aref}"%>" name="<%= method.aref %>" class="permalink">Link</a> </div> <% if method.comment %> <div class="description"> <%= method.description.strip %> @@ -204,6 +205,6 @@ </div> <% end #methods.each %> <% end #visibilities.each %> <% end #context.methods_by_type %> <% end #context.each_section %> -</div> \ No newline at end of file +</div>