X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6b4803d87fc957d0a779ebedc39e8499af1b7733..8c7f4625c24cc692417001390003edc8e202ccd4:/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