X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6b4803d87fc957d0a779ebedc39e8499af1b7733..c7ba9694118f0f4caf862ff89a9434d7d6e81913:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 58a009a3b..daf8fead7 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -1,10 +1,9 @@ class SiteController < ApplicationController before_filter :authorize_web + before_filter :set_locale 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