mmenu-rails
This is a ruby gem for the asset pipeline which includes Besite's jQuery.mmenu library.
Installation
Add this line to your application's Gemfile:
gem 'mmenu-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mmenu-rails
Modify your app/assets/javascripts/application.js
, adding:
//= require mmenu
Modify your app/assets/stylesheets/application.css
, adding:
*= require mmenu
Customization
Currently, there are a few customizations based on the new version of mmenu. I'll be adding them in the next release of mmenu-rails.
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
MIT. See License for more details.