]> git.openstreetmap.org Git - rails.git/commitdiff
Serve the favicon through the assets pipeline
authorTom Hughes <tom@compton.nu>
Fri, 30 Dec 2011 22:32:55 +0000 (22:32 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 30 Dec 2011 22:32:55 +0000 (22:32 +0000)
app/assets/images/favicon.ico [moved from public/favicon.ico with 100% similarity]
app/views/layouts/_head.html.erb

index e315ef373fc35876135880e3a5c83c200e12c5cc..3ddb7355153c2a1bd808974691f4eaf7cbf77782 100644 (file)
@@ -8,6 +8,7 @@
   <%= stylesheet_link_tag "large-#{t 'html.dir'}", :media => "screen and (min-width: 642px)" %>
   <%= stylesheet_link_tag "print-#{t 'html.dir'}", :media => "print" %>
   <!--[if IE]><%= stylesheet_link_tag "large-#{t 'html.dir'}", :media => "screen" %><![endif]--> <!-- IE is totally broken with CSS media queries -->
+  <%= favicon_link_tag "favicon.ico" %>
   <%= tag("link", { :rel => "publisher", :href => "https://plus.google.com/111953119785824514010" }) %>
   <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
   <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>