mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Fix API authentication
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module Api
|
||||
class EnterprisesController < Spree::Api::BaseController
|
||||
class EnterprisesController < BaseController
|
||||
|
||||
before_filter :override_owner, only: [:create, :update]
|
||||
before_filter :check_type, only: :update
|
||||
|
||||
Reference in New Issue
Block a user