Rack::FaviconAll
This is a Ruby version of bayashi/Plack-Middleware-Favicon
Generate favicons for IE, FF, Chrome, Safari!
Installation
Add this line to your application's Gemfile:
gem 'rack-favicon_all'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-favicon_all
Usage
In Gemfile
gem 'rack-favicon_all'
And write in config.ru below
require 'rack/favicon_all'
use Rack::FaviconAll, favicon_path: "path/to/favicon.png"
Contributing
- Fork it ( https://github.com/[my-github-username]/rack-favicon_all/fork )
- 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 a new Pull Request