diff --git a/app/controllers/spree/api/orders_controller_decorator.rb b/app/controllers/spree/api/orders_controller_decorator.rb deleted file mode 100644 index 21f64f51d8..0000000000 --- a/app/controllers/spree/api/orders_controller_decorator.rb +++ /dev/null @@ -1,7 +0,0 @@ -Spree::Api::OrdersController.class_eval do - - # We need to add expections for collection actions other than :index here - # because Spree's API controller causes authorize_read! to be called, which - # results in an ActiveRecord::NotFound Exception as the order object is not - # defined for collection actions -end diff --git a/spec/controllers/spree/api/orders_controller_spec.rb b/spec/controllers/spree/api/orders_controller_spec.rb deleted file mode 100644 index 53e6b880ac..0000000000 --- a/spec/controllers/spree/api/orders_controller_spec.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'spec_helper' -require 'spree/api/testing_support/helpers' - -module Spree - describe Spree::Api::OrdersController, type: :controller do - - end -end