AutoCommit Fre Jul 31 12:03:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-07-31 12:03:05 +02:00
parent 8a4a168fe4
commit e61142382e
3 changed files with 5 additions and 2 deletions

View File

@@ -7,5 +7,7 @@
<li><%= render c %></li>
<% end %>
</ul>
<%= render partial: "answeredquestion", object: question if question.answers.where(user_id: current_user.id).count>0%>
</div>
<% end %>