I think this is how all the assets helpers work by default.
Rafael Mendonça França http://twitter.com/rafaelfranca https://github.com/rafaelfranca
I think this is how all the assets helpers work by default.
Rafael Mendonça França http://twitter.com/rafaelfranca https://github.com/rafaelfranca
I haven’t had time to test but you’re saying the asset_path helper will provide the full url by default?
In console within production environment it seems to only return the path which isn’t sufficient for html emails.
If I remember correctly, asset_path will return the full URL if you set
config.action_mailer.asset_host = “http://my.assets.com”
in your environment file.