Install ruby-js-image-paths by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-js-image-paths
Description:
Rails image paths in your JS
Easily access your image assets in your JavaScript code. This works similar to the image_path helper in Rails. . It is a rails engine and accessed via sprockets
Homepage: https://github.com/jhass/js_image_paths
Version: 0.1.1-1
Section: universe/ruby