Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/checkouts_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module Spree
module Api
module Ams
class CheckoutsController < Spree::Api::CheckoutsController
class CheckoutsController < Spree::Api::V1::CheckoutsController
include Serializable
include Requestable
end
end
end
end
end
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/cors_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Spree
module Api
module Ams
class CorsController < Spree::Api::BaseController
class CorsController < Spree::Api::V1::BaseController
include Requestable

def preflight_check
Expand All @@ -11,4 +11,4 @@ def preflight_check
end
end
end
end
end
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/countries_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Spree
module Api
module Ams
class CountriesController < Spree::Api::CountriesController
class CountriesController < Spree::Api::V1::CountriesController
include Serializable
include Requestable

Expand All @@ -14,4 +14,4 @@ def index
end
end
end
end
end
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/line_items_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module Spree
module Api
module Ams
class LineItemsController < Spree::Api::LineItemsController
class LineItemsController < Spree::Api::V1::LineItemsController
include Serializable
include Requestable
end
end
end
end
end
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/orders_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module Spree
module Api
module Ams
class OrdersController < Spree::Api::OrdersController
class OrdersController < Spree::Api::V1::OrdersController
include Serializable
include Requestable
end
end
end
end
end
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/products_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Spree
module Api
module Ams
class ProductsController < Spree::Api::ProductsController
class ProductsController < Spree::Api::V1::ProductsController
include Serializable
include Requestable

Expand All @@ -16,4 +16,4 @@ def product_scope
end
end
end
end
end
4 changes: 2 additions & 2 deletions app/controllers/spree/api/ams/taxonomies_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module Spree
module Api
module Ams
class TaxonomiesController < Spree::Api::TaxonomiesController
class TaxonomiesController < Spree::Api::V1::TaxonomiesController
include Serializable
include Requestable
end
end
end
end
end
2 changes: 1 addition & 1 deletion app/controllers/spree/api/ams/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Spree
module Api
module Ams
class UsersController < Spree::Api::UsersController
class UsersController < Spree::Api::V1::UsersController
include Serializable
include Requestable

Expand Down