I want cart to be shown on every page/ I can do this by adding @cart=current_cart to every method in every controller, but is there other variants? Something that when I add a product to my cart and the go to the /orders/show/ or to the /users/edit the cart still be at the left side of the screen
And the same thing with the Users. How to show user.name on every page?
Sorry for my english? i’m not from english-speaking country