]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Quote default when used as a key in a hash as it is a keyword...
[rails.git] / app / controllers / site_controller.rb
index 58a009a3b81a4e2a98f844ebc5e784aa500d3cf3..4b22e46fd4d0ac39c7c28e5a6e38003cd79b343a 100644 (file)
@@ -2,9 +2,7 @@ class SiteController < ApplicationController
   before_filter :authorize_web
   before_filter :require_user, :only => [:edit]
 
   before_filter :authorize_web
   before_filter :require_user, :only => [:edit]
 
-
-  def search
-    @tags = WayTag.find(:all, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
+  def export
+    render :action => 'index'
   end
   end
-
 end
 end