use asset-url so that things don't break when we precompile assets

Per some comments in my last pull request, I've made a change to use an asset-pipeline-friendly function call