Fix API authentication

This commit is contained in:
Matt-Yorkley
2019-05-06 17:31:08 +01:00
parent 6bdc5d4438
commit 6a8a67560b

View File

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