Method: Effective::Resources::I18n#human_plural_name

Defined in:
app/models/effective/resources/i18n.rb

#human_plural_nameObject



41
42
43
44
45
46
47
# File 'app/models/effective/resources/i18n.rb', line 41

def human_plural_name
  if klass.respond_to?(:model_name)
    klass.model_name.human.pluralize
  else
    name.pluralize.gsub('::', ' ').underscore.gsub('_', ' ')
  end
end