Sha256: 13499c9cb0788a5857539f9d85b7070723589d53c8bfe18c00e1def7cfca5f45

Contents?: true

Size: 198 Bytes

Versions: 28

Compression:

Stored size: 198 Bytes

Contents

module Alchemy
  module Admin
    module AttachmentsHelper

      def mime_to_human mime
        Alchemy::I18n.t(mime, :scope => :mime_types, :default => t('document'))
      end

    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.4 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.4.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.0.b5 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.0.b2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.4.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.4.rc4 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.4.rc2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.4.rc1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.3.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.4.beta2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.3.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.3.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.3.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.3.rc5 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.rc15 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.2.rc14 app/helpers/alchemy/admin/attachments_helper.rb