]> git.openstreetmap.org Git - rails.git/blob - app/controllers/site_controller.rb
58a009a3b81a4e2a98f844ebc5e784aa500d3cf3
[rails.git] / app / controllers / site_controller.rb
1 class SiteController < ApplicationController
2   before_filter :authorize_web
3   before_filter :require_user, :only => [:edit]
4
5
6   def search
7     @tags = WayTag.find(:all, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
8   end
9
10 end