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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -