]> git.openstreetmap.org Git - rails.git/blob - app/controllers/way_tag_controller.rb
Relation Tag testing. Also sort the belong_to/has_many for user/changeset/old_way.
[rails.git] / app / controllers / way_tag_controller.rb
1 class WayTagController < ApplicationController
2   layout 'site'
3
4   def search
5     @tags = WayTag.find(:all, :limit => 11, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
6   end
7
8
9 end