lib/fdoc/templates/service.html.erb in fdoc-0.3.0 vs lib/fdoc/templates/service.html.erb in fdoc-0.3.1
- old
+ new
@@ -29,11 +29,13 @@
<% endpoints.each do |endpoint_ary| %>
<%= tag_with_anchor('h3', endpoint_ary.first.prefix) %>
<ul>
<% endpoint_ary.each do |endpoint| %>
<li>
- <%= endpoint.name_as_link %>
- </li>
+ <a href="<%= endpoint.url %>">
+ <%= render_erb("shared/endpoint_name.html.erb", endpoint.get_binding) %>
+ </a>
+ </li>
<% end %>
</ul>
<% end %>
<% if discussion %>