Sha256: b857ec9549ca77bf2cd2d7aaddfbb4558b459ec40a908b5dd178e0d50cb2bf7f

Contents?: true

Size: 137 Bytes

Versions: 20

Compression:

Stored size: 137 Bytes

Contents

module Admin::AttachmentsHelper

  def mime_to_human mime
    I18n.t("alchemy.mime_types.#{mime}", :default => _('document'))
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.6.1 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.5 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.4 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.3.1 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.1.beta1 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.3 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.2 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.1 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.rc6 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.rc5 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.rc4 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.rc3 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.rc2 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.rc1 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.pre5 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.pre4 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.pre3 app/helpers/admin/attachments_helper.rb
alchemy_cms-2.0.pre2 app/helpers/admin/attachments_helper.rb