JS From Rails Routes
For more information, check the main README.
Installation 💿
Add this line to your application's Gemfile in the development
group:
gem 'js_from_routes'
And then execute:
$ bundle
Or install it yourself as:
$ gem install js_from_routes