Fixed #5 - check content exists first!

This commit is contained in:
Reuben Mallaby 2013-02-11 19:31:02 +01:00
parent 1990b61bf7
commit b90dc8a5ac
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<%= render :partial => "upload" if User.current.allowed_to?(:edit_embedded_doc, @project) -%>
<!-- Embedded page -->
<%= @content.html_safe %>
<%= @content.html_safe if @content %>
<!-- Embedded page end -->
<% html_title(@title) if @title %>