Sha256: 042a1ba794e3bedd49740ed79a722d2b9603f7893f59eab879138ddfd5abe840

Contents?: true

Size: 183 Bytes

Versions: 7

Compression:

Stored size: 183 Bytes

Contents

module Alchemy
	module Admin
		module AttachmentsHelper

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

		end
	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.1.rc6 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.1.rc5 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.1.rc4 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.1.rc3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.1.rc2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.1.beta6 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.1.beta5 app/helpers/alchemy/admin/attachments_helper.rb