Refactors shared/_tags view to always take a param called taggable
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user