Replace hardcoded asset path with a helper to fetch it
It was causing errors on production because the app could not find the path of the asset. Using a Rails helper to locate the compiled asset, we should not have this problem.
It was causing errors on production because the app could not find the path of the asset. Using a Rails helper to locate the compiled asset, we should not have this problem.