Refactors shared/_tags view to always take a param called taggable

This commit is contained in:
kikito
2015-09-15 15:28:14 +02:00
parent 21c9f3fead
commit d324c061b3
5 changed files with 4 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
<%= link_to debate.description, debate %>
<div class="truncate"></div>
</div>
<%= render "shared/tags", debate: debate, limit: 5 %>
<%= render "shared/tags", taggable: debate, limit: 5 %>
</div>
</div>