No commit activity in last 3 years
No release in over 3 years
Easily add Refile fields to your administrate views
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.4

Runtime

>= 0.2.0
< 5.1, >= 4.2
~> 0.6
 Project Readme

AdministrateFieldRefile

Gem

All you need to integrate Refile with Administrate.

Installation

Add this line to your application's Gemfile:

gem 'administrate-field-refile'

And then execute:

$ bundle install

Usage

In your Dashboard ATTRIBUTE_TYPES use the field type Field::Refile. i.e.

ATTRIBUTE_TYPES = {
  images_files: Field::Refile
}

By default all Refile options are false, you can set them to true like this:

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.

License

MIT License