]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/geocoder_controller.rb
Put marker at exact position user dragged it to
[rails.git] / app / controllers / geocoder_controller.rb
index 87eb329abfe9fc998c271af4ad1b328ae807bfd6..692ae24ddb2e892d89bbc50e663a9af668e96b67 100644 (file)
@@ -7,6 +7,7 @@ class GeocoderController < ApplicationController
 
   before_filter :authorize_web
   before_filter :set_locale
+  before_filter :require_oauth, :only => [:search]
 
   def search
     normalize_params