Show Orders
Learn how to add a function that displays a specific order to the client.
We'll cover the following...
As we have already seen, this route is straightforward. We only have to set up a few configurations (controller action, tests, and routes), and this lesson will be over. We will also include products related to the order in the output JSON.
Define the show
action
We will define the ...