class Ferret::Browser::TermController
def show(field)
def show(field) if field and field.length > 0 @field = field.to_sym @terms = @reader.terms(@field).to_json(:fast) end render(:action => :index) end
def termdocs(args)
def termdocs(args) args = args.split('/') @field = args.shift.intern @term = args.join('/') render(:action => :termdocs, :content_type => 'text/plain', :layout => false) end