parent
8932633b23
commit
3343e1c413
|
@ -46,8 +46,8 @@ review = issue.code_review
|
||||||
%>
|
%>
|
||||||
<%= l(:label_revision) + " "%>
|
<%= l(:label_revision) + " "%>
|
||||||
<%= link_to_revision(assignment.revision, repo) %>
|
<%= link_to_revision(assignment.revision, repo) %>
|
||||||
<% elsif assignment.attachment %>
|
<% elsif assignment.respond_to?("attachment") && assignment.attachment %>
|
||||||
<%= link_to(assignment.attachment.filename, :controller => 'attachments', :action => 'show', :id => attachment.id) %>
|
<%= link_to(assignment.attachment.filename.to_s, :controller => 'attachments', :action => 'show', :id => assignment.attachment.id) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue