AutoCommit Mon Aug 10 18:03:03 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-10 18:03:03 +02:00
parent 07b0755004
commit d628d6cee8
3 changed files with 9 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
<b>Typ:</b>
<%= @survey_question.typ %>
</p>
<%= render @survey_question.parent unless @survey_question.parent.nil?|| !(@survey_question.parent.class == Neuigkeit) %>
<%= render partial: "/"+@survey_question.parent.to_partial_path, object: @survey_question.parent unless @survey_question.parent.nil? %>
<%= render @survey_question %>
<%= render_comments_for(@survey_question) %>