Creating the Catalog Listing

Learn to configure the routes in Ruby applications.

We’ve already created the products controller, which will be used by the seller to administer the Depot application. Now it’s time to create a second controller to interact with the paying customers. Let’s call it “Store:”

depot> bin/rails generate controller Store index

A live terminal

Try the above command in the terminal provided below

Get hands-on with 1400+ tech skills courses.