Skip to content

Commit

Permalink
use #description instead of #comment in HTML output
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Aug 8, 2010
1 parent ff55651 commit b3e2353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/app/views/classes/show.html.erb
Expand Up @@ -85,7 +85,7 @@
<% unless constant.comment.empty? %>
<tr valign='top'>
<td>&nbsp;</td>
<td colspan="2" class="attr-desc"><%= constant.comment.strip %></td>
<td colspan="2" class="attr-desc"><%= constant.description.strip %></td>
</tr>
<% end %>
<% end %>
Expand All @@ -105,7 +105,7 @@
<td class='attr-name'><%= attribute.name %></td>
<td class='attr-desc'>
<% if attribute.comment %>
<%= attribute.comment.strip %>
<%= attribute.description.strip %>
<% else %>
(Not documented)
<% end %>
Expand Down Expand Up @@ -143,7 +143,7 @@

<% if method.comment %>
<div class="description">
<%= method.comment.strip %>
<%= method.description.strip %>
</div>
<% end %>
Expand Down

0 comments on commit b3e2353

Please sign in to comment.