move stuff around
This commit is contained in:
parent
8edf08405d
commit
6fe1a503b6
5 changed files with 10 additions and 6 deletions
|
@ -2,11 +2,6 @@ class SiteController < ApplicationController
|
|||
before_filter :authorize_web
|
||||
before_filter :require_user, :only => [:edit]
|
||||
|
||||
|
||||
def search
|
||||
@tags = WayTag.find(:all, :limit => 11, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
|
||||
end
|
||||
|
||||
def goto_way
|
||||
way = Way.find(params[:id])
|
||||
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
class WaySegmentController < ApplicationController
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
|
|
@ -1,2 +1,8 @@
|
|||
class WayTagController < ApplicationController
|
||||
|
||||
def search
|
||||
@tags = WayTag.find(:all, :limit => 11, :conditions => ["match(v) against (?)", params[:query][:query].to_s] )
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue