From 89399c5ba1926a6c50662a8c9ac7f5fe0cf1f730 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 9 Jan 2019 10:14:52 +0100 Subject: [PATCH] Add missing authorize_resource declaration to geocoder controller --- app/controllers/geocoder_controller.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5