Rack::DevFavicon
The Rack::DevFavicon middleware shows the favicon in gray scale on a specified environment
Installation
Add this line to your application's Gemfile:
group :development do
gem 'rack-devfavicon'
end
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rack-devfavicon
Usage
if ENV['RACK_ENV'] != 'production'
require 'rack-devfavicon'
use Rack::DevFavicon
end
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