config/routes.rb in workarea-cart_sharing-1.0.2.pre vs config/routes.rb in workarea-cart_sharing-1.0.3.pre
- old
+ new
@@ -1,8 +1,7 @@
Workarea::Storefront::Engine.routes.draw do
scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
- resource :cart, only: :show do
- post :share, to: 'carts#share'
+ resource :cart do
get 'from/:token', as: :from, to: 'carts#from'
end
end
end
\ No newline at end of file