Skip to content

Provides the 'Add to Home screen' assets for your Rails application.

Notifications You must be signed in to change notification settings

RogerE/add-to-homescreen-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS GEM IS NO LONGER UPDATED

If you require newer versions of the asset files you can download them from the Add to Homescreen repository.

Intro

This gem vendors the 'Add to Home screen' assets for Rails 3.1 and greater. The files will be added to the asset pipeline and available for you to use.

For info on how to use the plugin see the original documentation:

Add to Home screen

Praise for creating this tool should of course be directed at Matteo Spinelli!

For the orignal javascript and css file go to his Github repository.

Usage

In your Gemfile, add:

gem 'add-to-homescreen-rails'

You can include it by adding the following to your javascript application file:

//= require addtohomescreen

And to the css application file:

/*
 *= require addtohomescreen
 */

About

Provides the 'Add to Home screen' assets for your Rails application.

Resources

Stars

Watchers

Forks

Packages

No packages published