makes tag_cloud to accept taggable

fixes links in proposals' tag cloud
This commit is contained in:
Juanjo Bazán
2015-09-13 14:38:33 +02:00
parent 890c7d55e1
commit 7cf6f0ad15
4 changed files with 17 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
<div class="small-12 medium-3 column">
<aside class="sidebar" role="complementary">
<%= link_to t("debates.index.start_debate"), new_debate_path, class: 'button radius expand' %>
<%= render "shared/tag_cloud" %>
<%= render "shared/tag_cloud", taggable: 'debate' %>
</aside>
</div>
</div>