Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/rack-favicon
WIP
https://github.com/banyan/rack-favicon
Last synced: 16 days ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/banyan/rack-favicon
- Owner: banyan
- License: mit
- Created: 2013-04-04T10:00:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-04T18:34:23.000Z (almost 12 years ago)
- Last Synced: 2024-12-21T00:23:30.740Z (about 2 months ago)
- Language: Ruby
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rack::Favicon
WIP - it works with rack application, but not rails yet :P
## Installation
Add this line to your application's Gemfile:
gem 'rack-favicon'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-favicon
## Usage
```
group :development do
gem 'rack-favicon'
end
``````
require 'rack/favicon'
use Rack::Favicon, image: "path/to/favicon.ico"
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request