Sha256: edfd7dfe1bcc62fca3ccd3a1a2cf713361d6be4940bf9eb76fb89e9dac5a2777

Contents?: true

Size: 235 Bytes

Versions: 10

Compression:

Stored size: 235 Bytes

Contents

module Alchemy
  module Admin
    module AttachmentsHelper
      include Alchemy::Admin::BaseHelper

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.4.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.3.3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.3.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.4.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.4.0.rc1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.3.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.3.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.3.0.rc2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.3.0.rc1 app/helpers/alchemy/admin/attachments_helper.rb