Module: TagsHelper

Defined in:
app/helpers/tags_helper.rb

Instance Method Summary collapse

Instance Method Details

#show_tags(tags) ⇒ Object



2
3
4
5
6
# File 'app/helpers/tags_helper.rb', line 2

def show_tags(tags)
  links = []
  tags.each { |t| links << link_to(t.tag, :controller => 'tags', :action => 'show', :tag => t.tag)}
  links.join(', ')
end