Fixed #5 - check content exists first!
This commit is contained in:
parent
1990b61bf7
commit
b90dc8a5ac
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue