We need to use `asset_path(resource.url)` so that it can generate proper link in case `config.action_controller.asset_host` is set and I'm pretty sure `asset_paths.compute_public_path` was used for the same reason.