README.md in activeadmin-dropzone-0.2.1 vs README.md in activeadmin-dropzone-0.2.2

- old
+ new

@@ -1,6 +1,6 @@ -# activeadmin-dropzone +# activeadmin-dropzone [![Gem Version](https://badge.fury.io/rb/activeadmin-dropzone.png)](http://badge.fury.io/rb/activeadmin-dropzone) Easy to use integration of drag&drop files upload via [dropzone.js](http://www.dropzonejs.com) for [ActiveAdmin](http://www.activeadmin.info). ## Requirements @@ -29,19 +29,23 @@ Add `input` to your ActiveAdmin form: f.input :images, as: :dropzone +Add `activeadmin-dropzone` to both `active_admin.js` and `active_admin.css` files: + + //= require activeadmin-dropzone + ## Configuration You can customize columns used for upload by passing `Hash` to the `dropzone_item` method. Here are the default values: dropzone_item title: :title, position: :position, data: :data, - file_size: :file_size, - url: :url + file_size: :data_file_size, + url: :data_url ## Contributing to activeadmin-dropzone * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet. * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it. @@ -51,6 +55,6 @@ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it. ## Copyright Copyright (c) 2014 Maxim Gladkov. See LICENSE.txt for -further details. \ No newline at end of file +further details.