+ if params[:postcode] and not params[:postcode].empty?
+ check_postcode(params[:postcode])
+ elsif params[:query][:postcode] and not params[:query][:postcode].empty?
+ check_postcode(params[:query][:postcode])
+ elsif params[:query][:place_name]
+ redirect_to :controller => 'geocoder', :action => 'results', :params => {:place_name => params[:query][:place_name]}
+ end
+ end