Uservoice::Turbolinks
use with Rails and Assest Pipeline
This gem adds support for Uservoice to use with Rails Turbolinks.
When you use the turbolinks and move between pages the Uservoice tab will disappear this gem will bring it back.
Installation
Add this line to your application's Gemfile:
gem 'uservoice-turbolinks'
And then execute:
$ bundle
Or install it yourself as:
$ gem install uservoice-turbolinks
Usage
Add
//= require uservoice-turbolinks
to your Javascript manifest file (usually application.js).
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
Check LICENSE, MIT.