I have a plugin that I would like to use that has the following line in it:
PATH_TO_ASSETS = ActionView::Helpers::AssetTagHelper::ASSETS_DIR + File::SEPARATOR
This is erring now with:
const_missing': uninitialized constant ActionView::Helpers::AssetTagHelper::ASSETS_DIR (NameError)
Any idea how I can get this to work with Rails 3? Thanks
ASSETS_DIRwas taken out in Rails 3. It would have been defined asRails.public_pathor'public'ifRails.public_pathwas undefined.ActionController::Base.helpers.config.assets_dirseems to be what it was replaced with