Sha256: e89e81e34ce6642cea62aa64380f39903b0e4d99147136fb6fabb775da30656e

Contents?: true

Size: 226 Bytes

Versions: 27

Compression:

Stored size: 226 Bytes

Contents

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

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

    end
  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.3 app/helpers/alchemy/admin/attachments_helper.rb
lc_alchemy_cms-3.2.1 app/helpers/alchemy/admin/attachments_helper.rb
lc_alchemy_cms-3.2.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.2.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.2.0.rc1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.2.0.beta app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.0.4 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.rc3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.rc2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.rc1 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.beta6 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.beta5 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.beta4 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.0.3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.beta3 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.beta2 app/helpers/alchemy/admin/attachments_helper.rb
alchemy_cms-3.1.0.beta1 app/helpers/alchemy/admin/attachments_helper.rb