Sha256: 8673f64b9329dcda88170e7d464184b3d74ee8c543942df82a4c3bd7aa91659b
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
# Lolita file upload File upload gem for Lolita. ## Instalation * gem install lolita-file-upload * include in gemfile like this: `gem "lolita-file-upload"` * cd your_project_path * rails g lolita_file_upload:install * add `lolita_gallery` as plugin to `config/tinymce.yml` configuration. Install will copy migration to your project. If you update to newest version of gem, than run `rails g lolita_file_upload:assets` ##Configuration Gem will not used until any of lolita configuration blocks define tab with type :files. Like this ```ruby class Post include Lolita::Configuration has_many :files, as: :fileable, class_name: 'Lolita::Upload::File' lolita do tab(:content) tab(:files) end end ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-file-upload-1.0.3 | README.md |
lolita-file-upload-1.0.2 | README.md |