Module: Enki::TagHelper

Included in:
ApplicationController
Defined in:
app/helpers/enki/tag_helper.rb

Instance Method Summary collapse

Instance Method Details

#linked_tag_list(tags, options = {}) ⇒ Object



3
4
5
# File 'app/helpers/enki/tag_helper.rb', line 3

def linked_tag_list(tags, options = {})
  raw tags.collect {|tag| link_to(tag.name, enki.posts_path(:tag => tag.name), options)}.join(", ")
end