fix #1307 and add basic test

This commit is contained in:
Reinier Balt 2012-07-15 20:45:37 +02:00
parent 6e1ad5e200
commit 5a24644aad
3 changed files with 26 additions and 173 deletions

View file

@ -20,7 +20,7 @@
<%= render :layout => 'show_results_collection', :object => @found_tags, :locals => { :collection_name => "found-tags", :collection_title => t('search.tags_matching_query')} do %>
<span class="tags"><% @found_tags.each do |tag| -%>
<span class="tag"><%= link_to tag.name, {:controller => "todos", :action => "tag", :id => tag.name} -%></span>
<span class="tag"><%= link_to tag.name, tag_path(tag.name) -%></span>
<% end %>
</span><br/><br/>
<% end -%>