]> git.openstreetmap.org Git - rails.git/commitdiff
Link OSM logo in site layout to the site's homepage (default map view).
authorDan Karran <dan@karran.net>
Sun, 10 Jun 2007 13:57:17 +0000 (13:57 +0000)
committerDan Karran <dan@karran.net>
Sun, 10 Jun 2007 13:57:17 +0000 (13:57 +0000)
app/views/layouts/site.rhtml

index fb0bc57eb140d3668565bad6f93fa2c5ebf3f14d..9290ea892fbf71c2e7730d24e190793f8caef625 100644 (file)
@@ -54,7 +54,7 @@
       <div id="logo">
         <center>
           <h1>OpenStreetMap</h1>
-          <img src="/images/osm_logo.png" width="120" height="120"/><br/>
+          <%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0), :controller => 'site', :action => 'index') %><br/>
           <nobr><h2>The Free Wiki World Map</h2></nobr>
         </center>
       </div>