Skip to content

Commit

Permalink
removed Cart route, controller, model and specs: dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Aug 11, 2018
1 parent 9dcbd90 commit 0b9061d
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 313 deletions.
39 changes: 0 additions & 39 deletions app/controllers/open_food_network/cart_controller.rb

This file was deleted.

28 changes: 0 additions & 28 deletions app/models/cart.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/open_food_network/cart/show.v1.rabl

This file was deleted.

3 changes: 0 additions & 3 deletions app/views/open_food_network/line_items/index.v1.rabl

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/open_food_network/line_items/show.v1.rabl

This file was deleted.

3 changes: 0 additions & 3 deletions app/views/open_food_network/orders/index.v1.rabl

This file was deleted.

7 changes: 0 additions & 7 deletions app/views/open_food_network/orders/show.v1.rabl

This file was deleted.

6 changes: 0 additions & 6 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@
post '/product_images/:product_id', to: 'product_images#update_product_image'
end

namespace :open_food_network do
resources :cart do
post :add_variant
end
end

get 'sitemap.xml', to: 'sitemap#index', defaults: { format: 'xml' }

# Mount Spree's routes
Expand Down
86 changes: 0 additions & 86 deletions spec/controllers/cart_controller_spec.rb

This file was deleted.

131 changes: 0 additions & 131 deletions spec/models/cart_spec.rb

This file was deleted.

0 comments on commit 0b9061d

Please sign in to comment.