Sha256: 1801349e60bd6878b94e98a2e5307c2888f2b8df3222bd9932a9fd9318eacca3
Contents?: true
Size: 813 Bytes
Versions: 4
Compression:
Stored size: 813 Bytes
Contents
require 'ckeditor' # Use this hook to configure ckeditor if Object.const_defined?("Ckeditor") Ckeditor.setup do |config| # ==> ORM configuration # Load and configure the ORM. Supports :active_record (default), :mongo_mapper and # :mongoid (bson_ext recommended) by default. Other ORMs may be # available as additional gems. require "ckeditor/orm/active_record" # Allowed image file types for upload. # Set to nil or [] (empty array) for all file types # config.image_file_types = ["jpg", "jpeg", "png", "gif", "tiff"] # Allowed attachment file types for upload. # Set to nil or [] (empty array) for all file types # config.attachment_file_types = ["doc", "docx", "xls", "odt", "ods", "pdf", "rar", "zip", "tar", "swf"] config.path = 'assets/quic_cms' end end
Version data entries
4 entries across 4 versions & 1 rubygems