adds author to debates [#11]

This commit is contained in:
rgarcia
2015-07-18 14:49:22 +02:00
parent 272c03f6a5
commit 45094a86bc
4 changed files with 17 additions and 5 deletions

View File

@@ -1,6 +1,9 @@
<div class='debate'>
<p><%= link_to debate.title, debate %></p>
<p><%= debate.description %></p>
<p>Creado el: <%= l debate.created_at.to_date %></p>
<p>
Creado el: <%= l debate.created_at.to_date %>
por: <%= debate.author.name %>
</p>
</div>
<br/><br/>