Topic: Rails 3.1 assets without asset folder prefix

I want serve my assets from "assets.example.com/example_asset.png" (so without the /assets sub folder).

Is there any way to do this other than setting config.assets.prefix = "" as doing this messes with capistrano, and it is nice having all assets compiled to on sub folder for easy of uploading etc.

Thanks,

Owen

Last edited by obduk (2011-10-21 05:31:27)

Re: Rails 3.1 assets without asset folder prefix

I'd just go with the flow and use the /assets subfolder,  why don't you want to use it?

Joe got a job, on the day shift, at the Utility Muffin Research Kitchen, arrogantly twisting the sterile canvas snout of a fully charged icing anointment utensil.