sortablejs-rails
A gem that provides the SortableJS library to Rails's asset pipeline.
How to Use
- Add the gem to your Rails
Gemfile
file (e.g.gem 'sortablejs-rails', '~> 1.10'
) - Add SortableJS to your
app/assets/javascript/application.js
file like this://= require sortable.min
- 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.