From: Andy Allan Date: Wed, 9 Jan 2019 09:14:52 +0000 (+0100) Subject: Add missing authorize_resource declaration to geocoder controller X-Git-Tag: live~2725^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/89399c5ba1926a6c50662a8c9ac7f5fe0cf1f730?hp=7420479cdea7629b66a2da628cfd4ace54567b68 Add missing authorize_resource declaration to geocoder controller --- diff --git a/app/controllers/geocoder_controller.rb b/app/controllers/geocoder_controller.rb index da5245687..b9cf8d096 100644 --- a/app/controllers/geocoder_controller.rb +++ b/app/controllers/geocoder_controller.rb @@ -6,6 +6,7 @@ class GeocoderController < ApplicationController before_action :authorize_web before_action :set_locale before_action :require_oauth, :only => [:search] + authorize_resource :class => false def search @params = normalize_params