I use Revolution slider in my application. The goal is to show all the products in the slider on the page, ie every single product is a separate slide. At the moment, I see the first product in the slider, but when I click the navigation arrow, nothing happens, and in the browser console I see: No route matches [GET] "/undefined" . How do I set the correct behavior for the navigation arrows, so that they do not refer to a nonexistent route? Thanks in advance.

Added by:

It turned out to make a slide switch, but the error in the console remained.

Closed due to the fact that off-topic participants D-side , cheops , aleksandr barakin , user194374, lexxl Jul 29 '16 at 8:32 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - D-side, cheops, Community Spirit, lexxl
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • From what is written, there is a suspicion that the slider is not properly initialized. Need js-code to connect / use. - anoam
  • I threw all the necessary js files into vendor/assets/javascripts and connected them to the application.js manifest. The same with css . - Alex Zakruzhetskyi

0