Step 1
Load swipe-rails
in your Gemfile
as part of the assets
group
group :assets do
gem 'swipe-rails'
end
Step 2
Run 'bundle install'
Step 3
Require swipe.js
in your Javascript manifest (e.g. application.js
)
//= require swipe
See Swipe's Documentation for full usage instructions.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request