From: Tom Hughes Date: Sun, 24 Nov 2013 17:05:02 +0000 (+0000) Subject: Enable oauth for geocoder#search X-Git-Tag: live~4648^2~17 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/581032b701c77f74a5ab94d728cd4e2c2fc5a14f?hp=686aae77325881dc73113cb76fe01f2cddec4a98;ds=inline Enable oauth for geocoder#search --- diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index 87eb329ab..692ae24dd 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -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