10 lines
251 B
Ruby
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
|