ektaverma1 / tinycon-rails

A Ruby wrapper to integrate Tinycon - A small library for manipulating the favicon, in particular adding alert bubbles and changing images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tinycon-Rails

Gem Version

A Ruby wrapper to integrate Tinycon - A small library for manipulating the favicon, in particular adding alert bubbles and changing images.

Installation

Add the gem to the Gemfile:

gem "tinycon-rails"    

Usage

In your JavaScript manifest (e.g. application.js):

//= require tinycon

In your application.html.erb or application.html.haml make sure you have

favicon_link_tag 'favicon.ico'

And after all favicon.ico in your app/assets/images 😄

Licensing

The gem itself is released under the MIT license

🙏

About

A Ruby wrapper to integrate Tinycon - A small library for manipulating the favicon, in particular adding alert bubbles and changing images.


Languages

Language:JavaScript 86.7%Language:Ruby 13.3%