Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 728 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 728 Bytes

sortablejs-rails

A gem that provides the SortableJS library to Rails's asset pipeline.

How to Use

  1. Add the gem to your Rails Gemfile file (e.g. gem 'sortablejs-rails', '~> 1.10')
  2. Add SortableJS to your app/assets/javascript/application.js file like this: //= require sortable.min
  3. Restart your Rails app and SortableJS is loaded as JavaScript library

As this library just provides the SortableJS library to Rails, you may want to check out the developers documentation, to get an understanding how you can use SortableJS (click).

License

This project uses the upstream license MIT like upstream.