leaflet-hash for Rails
Packaged for the Rails 3.1+ asset pipeline. Check leaflet-hash project home page.
Installation
Add this line to your application's Gemfile:
gem 'leaflet-hash-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install leaflet-hash-rails
Usage
Add the following JavaScript file to app/assets/javascripts/application.js
:
//= require leaflet-hash-rails.js
License
Simplecolorpicker is licensed under the MIT license, this gem too.