app版本管理报错问题
This commit is contained in:
parent
c552a22fb2
commit
11c8c0510a
|
@ -36,7 +36,7 @@
|
|||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% if @versions.first.attachments.any?%>
|
||||
<% if !@versions.first.nil? && @versions.first.attachments.any?%>
|
||||
<% options = {:author => true, :deletable => true } %>
|
||||
<%= render :partial => 'attachments/links', :locals => {:attachments => @versions.first.attachments, :options => options, :is_float => true} %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue