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