so i've got an observe_field search box going on... once the search is down to 1 object... i'd like to switch partial templates, controller and actions. Shouldn't that resemble something like below? Or if i'm forced to stay in the same controller... how would i at least switch partial and action (below minus the :controller?)?
thanks for any help.
if request.xml_http_request? && @people.length != 1
render :partial => "shared/one"#, :layout => false
render :partial => "shared/two", :controller => 'other_controller', :action => 'this_other_action', :layout => false