Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Favicon links
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= path_to_image("apple-touch-icon-144x144-precomposed.png") %>">
<!-- For iPhone with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<%= path_to_image("apple-touch-icon-114x114-precomposed.png") %>">
<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<%= path_to_image("apple-touch-icon-72x72-precomposed.png") %>">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="<%= path_to_image("apple-touch-icon-precomposed.png") %>">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="icon" href="<%= path_to_image("favicon.ico") %>" type="image/x-icon" />
@mkelly12
Copy link
Author

mkelly12 commented Apr 2, 2012

Tossed this in app/views/layouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment