openstreetmap-website/app/controllers/site_controller.rb
2007-04-07 18:21:12 +00:00

10 lines
251 B
Ruby

class SiteController < ApplicationController
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] )
end
end