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

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -