module AliasesHelper

Public Instance Methods

aka(person) click to toggle source

Aliases as a commented list

# File app/helpers/aliases_helper.rb, line 3
def aka(person)
  if person && person.aliases.any?
    aliases = person.aliases.collect(&:name)
    "(a.k.a. #{aliases.join(', ')})"
  end
end