dreamingmind / bindery

CakePHP 1.3 Based Dreaming Mind Bindery Site
2 stars 2 forks source link

add to cart is hooked up strangely #213

Open dreamingmind opened 9 years ago

dreamingmind commented 9 years ago

addToCart() is in CartController, AppController and ultimately in PurchaseComponent->add(). This seems really muddled.

I put the appController hook so all controllers would have access. but can't we always call carts/addtocart then use the component?