link_to syntax in Rails 4 for nested resources -
I do not really understand how to link any other view in the rail.
/products/index.html. To indicate ARB and any other view, the product ID form wants to retrieve a product: subjects / index.html.erb
link_to What is the correct syntax for this URL:
If you use Rake Routes, it will tell you which routes you have, for this, you will need nested resources.
Resources: do product resources: end of topics
Comments
Post a Comment