Changes CustomerController.view to Customercontroller.show at the 1st section.
That makes the name of the method consistent with the other examples on the page.
The text mentioned the URI /customer/show, while the action in the controller was named view instead of show.
Changes
CustomerController.view
toCustomercontroller.show
at the 1st section. That makes the name of the method consistent with the other examples on the page. The text mentioned the URI/customer/show
, while the action in the controller was namedview
instead ofshow
.