Add missing authorize_resource declaration to geocoder controller
This commit is contained in:
parent
7420479cde
commit
89399c5ba1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue