w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
asset_path returns wrong path in production environment

You can set the asset prefix value in config/production.rb. The default is '/assets'. So in your case it would be:

config.assets.prefix = "/rails-app/assets"

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.