Sha256: bf3ec94f28a4f31bd793ad93f0e72dbc383911969a2e634bc55c9751da715d48
Contents?: true
Size: 715 Bytes
Versions: 4
Compression:
Stored size: 715 Bytes
Contents
# AdministrateFieldRefile All you need to integrate Refile with Administrate. ## Installation Add this line to your application's Gemfile: ```ruby gem 'administrate-field-refile' ``` And then execute: ``` $ bundle ``` ## Usage In your Dashboard `ATTRIBUTE_TYPES` use the field type `Field::Refile`. i.e. ```ruby ATTRIBUTE_TYPES = { images_files: Field::Refile } ``` By default all `Refile` options are false, you can set them to true like this: ```ruby ATTRIBUTE_TYPES = { images_files: Field::Refile.with_options(direct: true, presigned: true, multiple: true) } ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/DisruptiveAngels/administrate-field-refile.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
administrate-field-refile-0.0.6 | README.md |
administrate-field-refile-0.0.4 | README.md |
administrate-field-refile-0.0.3 | README.md |
administrate-field-refile-0.0.2 | README.md |