Sha256: 9407b9e296834ca5afaaf6fd67f054130929547ee17d097960ac603a7fad7c17
Contents?: true
Size: 768 Bytes
Versions: 2
Compression:
Stored size: 768 Bytes
Contents
# Use this hook to configure ckeditor if Object.const_defined?("RedactorRails") RedactorRails.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 "redactor-rails/orm/mongoid" # 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"] end end
Version data entries
2 entries across 2 versions & 1 rubygems