Sha256: 12576fef1f001c74190619eeeebe7ccb9935043d00d877bc82d931c010faf45f
Contents?: true
Size: 401 Bytes
Versions: 7
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true class Ckeditor::Picture < Ckeditor::Asset # for validation, see https://github.com/igorkasyanchuk/active_storage_validations def url_content rails_representation_url(storage_data.variant(resize: '800>').processed, only_path: true) end def url_thumb rails_representation_url(storage_data.variant(resize: '118x100').processed, only_path: true) end end
Version data entries
7 entries across 7 versions & 2 rubygems