diff options
Diffstat (limited to 'app/views/admin_request/show.rhtml')
-rw-r--r-- | app/views/admin_request/show.rhtml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml index 29989933b..fb8eb2f79 100644 --- a/app/views/admin_request/show.rhtml +++ b/app/views/admin_request/show.rhtml @@ -122,7 +122,7 @@ <% for column in Comment.content_columns %> <th><%= column.human_name %></th> <% end %> - <!--<th>Actions</th>--> + <th>Actions</th> </tr> <% for comment in @info_request.comments.find(:all, :order => 'created_at') %> @@ -132,6 +132,9 @@ <% for column in Comment.content_columns.map { |c| c.name } %> <td><%=h comment.send(column) %></td> <% end %> + <td> + <%= link_to "Edit", '../edit_comment/' + comment.id.to_s %> + </td> </tr> <% end %> </table> |