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

Popular posts from this blog

sql - Return Function using Cursor -

sql server - How to use pivot in this table -

javascript - Is there any way to add a new parameter to a function programmatically? -