Sha256: ea76dcea1ee1ee98cdbc0cd41e9a684475b11bb0b7091448e5573e74ca84217b

Contents?: true

Size: 799 Bytes

Versions: 4

Compression:

Stored size: 799 Bytes

Contents

# Use this hook to configure 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"]

  # Setup authorization to be run as a before filter
  # config.authorize_with :cancan
end if defined? Ckeditor

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foundationstone-0.0.4 config/initializers/ckeditor.rb
foundationstone-0.0.3 config/initializers/ckeditor.rb
foundationstone-0.0.2 config/initializers/ckeditor.rb
foundationstone-0.0.1 config/initializers/ckeditor.rb