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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -