Skip to content

Commit

Permalink
small change, left off assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeLynSchatz committed Jul 3, 2014
1 parent ec93222 commit f0689a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/controllers/geocoder_controller.rb
Expand Up @@ -237,10 +237,11 @@ def search_start_year
#
# trying the Wikidata api
#
set format=xml
fetch_xml("http://en.wikipedia.org/w/api.php?format=xml&action=query&titles=#{query}&prop=revisions&rvprop=content")
@response = fetch_xml("http://en.wikipedia.org/w/api.php?format=xml&action=query&titles=#{query}&prop=revisions&rvprop=content")
render :action => "response"
#@error = "Not really an error, but working on query of #{query}"
#render :action => "error"

end

def search_osm_nominatim_reverse
Expand Down

0 comments on commit f0689a3

Please sign in to comment.