Sha256: 560ab4ffea2cce58c1ba4f71572e50bf336988230b2408a74953c7190f94c5b0

Contents?: true

Size: 199 Bytes

Versions: 9

Compression:

Stored size: 199 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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.2.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.2.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.0.rc3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.5.0.b9 app/helpers/alchemy/admin/attachments_helper.rb