Skip to content

Integrate switchery assets in your Rails asset pipeline

License

Notifications You must be signed in to change notification settings

inventit/switchery-rails

Repository files navigation

Switchery::Rails

Switchery for Rails

Installation

Add this line to your application's Gemfile:

gem 'switchery-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install switchery-rails

Usage

In your application.js you will need to add this line:

//= require switchery

And in your application.css you will need to add this line:

*= require switchery

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/switchery-rails.

License

The gem is available as open source under the terms of the MIT License.

Releases

No releases published

Packages

No packages published