X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6b4803d87fc957d0a779ebedc39e8499af1b7733..4e9fcb9b91b981fe8a8b5d67082b8a941fb7e9ff:/app/views/site/index.rhtml
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index 78623603a..d6c2ed405 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -1,7 +1,7 @@
- <%= start_form_tag :controller => 'site', :action => 'search' %>
+ <%= start_form_tag :controller => 'way_tag', :action => 'search' %>
<%= text_field 'query', 'query'%>
<%= submit_tag 'Search' %>
<%= end_form_tag %>
@@ -38,7 +38,7 @@
function init(){
OpenLayers.Util.onImageLoadError = function() {
- this.src = "http://<%= SERVER_URL %>/javascript/img/404.png";
+ this.src = "http://www.openstreetmap.org/javascript/img/404.png";
}
map = new OpenLayers.Map( "map",
{maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxZoomLevel:18, maxResolution:156543, units:'meters', projection: "EPSG:41001"} );