Sha256: d58eb616a8528d13136218eed081df62a5906fc5dcbae73de8471f8dd760d5d8

Contents?: true

Size: 185 Bytes

Versions: 17

Compression:

Stored size: 185 Bytes

Contents

module Alchemy
  module Admin
    module AttachmentsHelper

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

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.9.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.8.3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.7.5 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.6.3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.7.4 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.8.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.8.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.7.3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.7.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.7.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.7.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.6.2.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.6.2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.6.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.6.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-2.6.0.rc5 app/helpers/alchemy/admin/attachments_helper.rb