2 def link_to_page(page, page_param)
3 return link_to(page, page_param => page)
6 def printable_name(object, version=false)
9 name = "#{name}, v#{object.version.to_s}"
11 if object.tags.include? 'name'
12 name = "#{object.tags['name'].to_s} (#{name})"