ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):
How to resolve this issue: ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):
I made a mistake added all images in app/assets it need to be in public/assets.
If you put the images in your app/assets/images
directory, then you should be able to call the image directly with no prefix in the path. ie. image_url('logo.png')