Install ruby-js-routes by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-js-routes
Description:
Brings Rails named routes to javascript
Generates javascript file that defines all Rails named routes as javascript helpers . Learn about its usage from /usr/share/doc/ruby-js-routes/Readme.md.gz
Homepage: http://github.com/railsware/js-routes
Version: 1.3.3-2
Section: universe/ruby