Add missing authorize_resource declaration to geocoder controller

This commit is contained in:
Andy Allan 2019-01-09 10:14:52 +01:00
parent 7420479cde
commit 89399c5ba1

View file

@ -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