Sha256: 906626da928109f1e124cbd4d00f2ffc5f48b55c3a3cc124380b6ce923de52d1

Contents?: true

Size: 272 Bytes

Versions: 134

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module Admin
    module PicturesHelper
      def preview_size(size)
        Alchemy::Picture::THUMBNAIL_SIZES.fetch(
          size,
          Alchemy::Picture::THUMBNAIL_SIZES[:medium]
        )
      end
    end
  end
end

Version data entries

134 entries across 134 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.3.3 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.3.2 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.7 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.3.1 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.3.0 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.6 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.5 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.1.12 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.0.15 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-6.1.10 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.4 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.1.11 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.3 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.1.10 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.2 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.1.9 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.0.14 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.2.1 app/helpers/alchemy/admin/pictures_helper.rb
alchemy_cms-7.0.13 app/helpers/alchemy/admin/pictures_helper.rb