on-internet
← Community

The difference between nesting resources, modules, and scope in rails

Stack Overflow ·

My goal is to obtain routes like the following: example.com/category/product... I know in theory this is really basic to do, and I know how to do it. The reason I am creating this issue is because I like understanding in how the methods I use work. The first time I had to do this was when I read the getting started guide. (and the other guides on making this store project) I will save you the trouble of looking for what I am talking about: resources :products do resource :wishlist, only: [ :create ], module: :products resources :reviews, only: [ :new, :create ], module: :products resources :su

Comments

Sign in or sign up to comment and upvote.

No comments yet.