adds proposal's index

This commit is contained in:
rgarcia
2015-09-12 12:47:28 +02:00
parent 845ca22152
commit 3fc4cf0c1b
5 changed files with 119 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
<% if taggable.tags.any? %>
<span class='tags'>
<% taggable.tag_list_with_limit(limit).each do |tag| %>
<%= link_to sanitize(tag.name), send("#{taggable.class.to_s.downcase}_path", tag: tag.name) %>
<%= link_to sanitize(tag.name), send("#{taggable.class.to_s.downcase.pluralize}_path", tag: tag.name) %>
<% end %>
<% if taggable.tags_count_out_of_limit(limit) > 0 %>